annotate src/muparser.mk @ 1499:9e587ca588dc

remove $($PKG)_SUBDIR) from FILE and URL defintions For now this means a bit of duplication, but if the remaining references to SUBDIR can be dealt with, we should be able to get rid of the SUBDIR defintion altogether.
author Mark Brand <mabrand@mabrand.nl>
date Sun, 12 Dec 2010 01:16:13 +0100
parents 2726fbef533c
children f653602a0500
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
739
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # muParser
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := muparser
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
1115
654d1f6cb73c update packages: imagemagick muparser
Mark Brand <mabrand@mabrand.nl>
parents: 740
diff changeset
7 $(PKG)_VERSION := 1.34
654d1f6cb73c update packages: imagemagick muparser
Mark Brand <mabrand@mabrand.nl>
parents: 740
diff changeset
8 $(PKG)_CHECKSUM := d6d834d3ba2bd3c316c9b3070369d32701703f78
739
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := $(PKG)_v$(subst .,,$($(PKG)_VERSION))
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1466
diff changeset
10 $(PKG)_FILE := $(PKG)_v$(subst .,,$($(PKG)_VERSION)).tar.gz
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
11 $(PKG)_WEBSITE := http://$(PKG).sourceforge.net/
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/Version $($(PKG)_VERSION)/$($(PKG)_FILE)
739
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
16 wget -q -O- 'http://sourceforge.net/projects/muparser/files/muparser/' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
17 $(SED) -n 's,.*Version%20\([0-9][^"]*\)/".*,\1,p' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1120
diff changeset
18 head -1
739
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)' \
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-samples \
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-debug
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install
8b3219088b15 new package: muparser (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 endef