Mercurial > mxe-octave
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 |
rev | line source |
---|---|
1239 | 1 # This file is part of mingw-cross-env. |
2 # See doc/index.html for further information. | |
3 | |
4 # PlotMM | |
5 PKG := plotmm | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 0.1.2 | |
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 | 13 $(PKG)_DEPS := gcc gtkmm |
14 | |
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 | 19 endef |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && ./configure \ | |
23 --host='$(TARGET)' \ | |
24 --prefix='$(PREFIX)/$(TARGET)' \ | |
25 --disable-shared | |
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install \ | |
27 bin_PROGRAMS= \ | |
28 sbin_PROGRAMS= \ | |
29 noinst_PROGRAMS= \ | |
30 INFO_DEPS= | |
31 endef |