annotate src/of-gsl.mk @ 4249:a1e2f1eac845

of-gsl: addgsl forge package * src/of-gsl.mk: new file * Makefile.in: add gsl to octave forge package list * dist-files.mk: add of-gsl.mk * index.html: add of-gsl * src/gsl.mk: update version, checksum for 2.2.1
author John D
date Mon, 21 Nov 2016 15:40:39 -0500
parents
children 1933a9113e65
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4249
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
1 # This file is part of MXE.
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
2 # See index.html for further information.
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
3
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
4 PKG := of-gsl
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
5 $(PKG)_IGNORE :=
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
6 $(PKG)_VERSION := 2.0.0
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
7 $(PKG)_CHECKSUM := 2732fd71d378d1ca97ebec63d824df0f362612d4
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
9 $(PKG)_SUBDIR := gsl-$($(PKG)_VERSION)
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
10 $(PKG)_FILE := gsl-$($(PKG)_VERSION).tar.gz
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
12 $(PKG)_DEPS := gsl
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
13
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
14 define $(PKG)_UPDATE
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
16 $(SED) -n 's,.*title="gsl-\([0-9][^"]*\).tar.gz".*,\1,p' | \
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
17 head -1
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
18 endef
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
19
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
20 define $(PKG)_BUILD
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
21 $(OCTAVE_FORGE_PKG_BUILD)
a1e2f1eac845 of-gsl: addgsl forge package
John D
parents:
diff changeset
22 endef