annotate src/of-database.mk @ 4424:bf58ac7af95d

of-database: add patch for dev octave * src/of-database-2-dev-fixes.patch: new file * dist-files.mk: add of-database-2-dev-fixes.patch * src/of-database/mk: call src/bootstrap
author John D
date Fri, 14 Jul 2017 12:00:29 -0400
parents 9ded338051db
children 1933a9113e65
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3892
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
3
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
4 PKG := of-database
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
5 $(PKG)_IGNORE :=
4224
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
6 $(PKG)_VERSION := 2.4.2
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
7 $(PKG)_CHECKSUM := cb9654c724012509e2d2e0ceb3ec2c67b20f1eb0
3892
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
9 $(PKG)_SUBDIR := database-$($(PKG)_VERSION)
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
10 $(PKG)_FILE := database-$($(PKG)_VERSION).tar.gz
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
12 $(PKG)_DEPS :=
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
13
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
14 define $(PKG)_UPDATE
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
16 $(SED) -n 's,.*title="database-\([0-9][^"]*\).tar.gz".*,\1,p' | \
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
17 head -1
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
18 endef
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
19
4224
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
20 ifeq ($(MXE_SYSTEM)$(MXE_NATIVE_MINGW_BUILD),mingwno)
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
21 define $(PKG)_BUILD
4424
bf58ac7af95d of-database: add patch for dev octave
John D
parents: 4224
diff changeset
22 cd '$(1)/src' && source ./bootstrap
4224
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
23 $(OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),"BUILD_CXX=g++"))
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
24 endef
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
25 else
3892
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
26 define $(PKG)_BUILD
4424
bf58ac7af95d of-database: add patch for dev octave
John D
parents: 4224
diff changeset
27 cd '$(1)/src' && source ./bootstrap
3892
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
28 $(OCTAVE_FORGE_PKG_BUILD)
b42e8f913ddc of-database: added of package
John Donoghue
parents:
diff changeset
29 endef
4224
9ded338051db of-database: update to 2.4.2
John D
parents: 4109
diff changeset
30 endif