Mercurial > mxe-octave
annotate src/plotmm.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | 0f3ee03ef309 |
children | f48c5b085a38 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1774
diff
changeset
|
1 # This file is part of MXE. |
1239 | 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) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1466
diff
changeset
|
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
1466
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) |
1774
0f3ee03ef309
fix forgotten dependencies
Volker Grabsch <vog@notjusthosting.com>
parents:
1499
diff
changeset
|
13 $(PKG)_DEPS := gcc gtkmm2 |
1239 | 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 |