annotate src/plotmm.mk @ 1466:2726fbef533c

improved update script of all remaining SourceForge packages
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 02 Dec 2010 20:31:45 +0100
parents e8ab66322da3
children 9e587ca588dc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1239
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
2 # See doc/index.html for further information.
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
3
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
4 # PlotMM
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
5 PKG := plotmm
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
7 $(PKG)_VERSION := 0.1.2
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 64da0930b7c8994d59769597917cca05df989258
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1252
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1252
diff changeset
10 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1252
diff changeset
11 $(PKG)_WEBSITE := http://$(PKG).sourceforge.net/
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1252
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
1239
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc gtkmm
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
14
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1252
diff changeset
16 wget -q -O- 'http://sourceforge.net/projects/plotmm/files/plotmm/' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1252
diff changeset
17 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1252
diff changeset
18 head -1
1239
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
19 endef
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
20
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
21 define $(PKG)_BUILD
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
23 --host='$(TARGET)' \
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)' \
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
25 --disable-shared
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install \
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
27 bin_PROGRAMS= \
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
28 sbin_PROGRAMS= \
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
29 noinst_PROGRAMS= \
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
30 INFO_DEPS=
546e993bded5 new package plotmm
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
31 endef