Mercurial > mxe-octave
annotate src/libpano13.mk @ 759:bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Tue, 16 Feb 2010 04:12:53 +0100 |
parents | 29f1ba4559ae |
children | 61f8ee67785e |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
621
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
691
diff
changeset
|
2 # See doc/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 := |
691
9274676de8d3
update version of packages boost, gdal, gtk, libpano13 and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
7 $(PKG)_VERSION := 2.9.17_beta1 |
9274676de8d3
update version of packages boost, gdal, gtk, libpano13 and xerces
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
8 $(PKG)_CHECKSUM := d92238ca00e29b18f26dd86de7e1425ab8ff26a8 |
621
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := libpano13-$(word 1,$(subst _, ,$($(PKG)_VERSION))) |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := libpano13-$($(PKG)_VERSION).tar.gz |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://panotools.sourceforge.net/ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/panotools/libpano13/libpano13-$($(PKG)_VERSION)/$($(PKG)_FILE) |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(PKG)_DEPS := gcc jpeg tiff libpng zlib |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 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
|
17 grep '/download</link>' | \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 $(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
|
19 tail -1 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 endef |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 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
|
23 $(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
|
24 $(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
|
25 $(SED) -i 's,m4 -DBUILDNUMBER=\$$buildnumber,$(SED) "s/BUILDNUMBER/\$$buildnumber/g",' '$(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
|
26 $(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
|
27 cd '$(1)' && ./configure \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --prefix='$(PREFIX)/$(TARGET)' \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --host='$(TARGET)' \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --disable-shared \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 --with-jpeg='$(PREFIX)/$(TARGET)'/lib \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 --with-tiff='$(PREFIX)/$(TARGET)'/lib \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 --with-png='$(PREFIX)/$(TARGET)'/lib \ |
544548c7cae9
new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 --with-zlib='$(PREFIX)/$(TARGET)'/lib |
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 |