Mercurial > mxe-octave
annotate src/libpano13.mk @ 2353:99516e73b368
Move doc/index.html -> index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 12:14:15 +0200 |
parents | f48c5b085a38 |
children | b5321bdec505 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2189
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
621
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # libpano13 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := libpano13 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
1653
7edd14e8a941
upgrade packages: libpano13 x264
Volker Grabsch <vog@notjusthosting.com>
parents:
1645
diff
changeset
|
7 $(PKG)_CHECKSUM := 23849bdbdfc9176a2b53d157e58bd24aa0e7276e |
1645
9b1b4dc75390
improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
1644
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$(word 1,$(subst _, ,$($(PKG)_VERSION))) |
9b1b4dc75390
improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
1644
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
9b1b4dc75390
improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
1644
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/panotools/$(PKG)/$($(PKG)_SUBDIR)/$($(PKG)_FILE) |
621
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_DEPS := gcc jpeg tiff libpng zlib |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 wget -q -O- 'http://sourceforge.net/api/file/index/project-id/96188/rss?path=/libpano13' | \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*libpano13-\([0-9].*\)\.tar.*,\1,p' | \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 tail -1 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
20 $(SED) -i 's,WINDOWSX\.H,windowsx.h,' '$(1)/sys_win.h' |
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
21 $(SED) -i 's,\$${WINDRES-windres},$(TARGET)-windres,' '$(1)/build/win32/compile-resource' |
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
22 $(SED) -i 's,m4 -DBUILDNUMBER=\$$buildnumber,$(SED) "s/BUILDNUMBER/\$$buildnumber/g",' '$(1)/build/win32/compile-resource' |
1198
26fc031aab3e
bugfix for package libpano13: include ppm.c in the build
Bart van Andel <bavanandel@gmail.com>
parents:
1125
diff
changeset
|
23 $(SED) -i 's,\(@HAVE_MINGW_TRUE@am__objects_4 = .*\),\1 ppm.lo,' '$(1)/Makefile.in' |
26fc031aab3e
bugfix for package libpano13: include ppm.c in the build
Bart van Andel <bavanandel@gmail.com>
parents:
1125
diff
changeset
|
24 $(SED) -i 's,\(@HAVE_MINGW_TRUE@WIN_SRC = .*\),\1 ppm.c,' '$(1)/Makefile.in' |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
25 $(SED) -i 's,mv.*libpano13\.dll.*,,' '$(1)/Makefile.in' |
621
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 cd '$(1)' && ./configure \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --prefix='$(PREFIX)/$(TARGET)' \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --host='$(TARGET)' \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --disable-shared \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --with-jpeg='$(PREFIX)/$(TARGET)'/lib \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 --with-tiff='$(PREFIX)/$(TARGET)'/lib \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 --with-png='$(PREFIX)/$(TARGET)'/lib \ |
2189
dc1705c24517
package gdal gdk-pixbuf libpano13: tiff 4 detection workaround
Mark Brand <mabrand@mabrand.nl>
parents:
1653
diff
changeset
|
33 --with-zlib='$(PREFIX)/$(TARGET)'/lib \ |
dc1705c24517
package gdal gdk-pixbuf libpano13: tiff 4 detection workaround
Mark Brand <mabrand@mabrand.nl>
parents:
1653
diff
changeset
|
34 LIBS="`'$(TARGET)-pkg-config' --libs libtiff-4`" |
621
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 endef |