annotate src/libpano13.mk @ 641:dab071eac9c0

simplified file markers
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 16 Jan 2010 23:02:02 +0100
parents 544548c7cae9
children 9274676de8d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 621
diff changeset
2 # See doc/index.html or doc/README 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 :=
544548c7cae9 new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 2.9.15_beta3
544548c7cae9 new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 963a7c18b57144b174df063031ed376133a6e522
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
544548c7cae9 new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 $(SED) 's,WINDOWSX\.H,windowsx.h,' -i '$(1)/sys_win.h'
544548c7cae9 new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(SED) 's,\$${WINDRES-windres},$(TARGET)-windres,' -i '$(1)/build/win32/compile-resource'
544548c7cae9 new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(SED) 's,m4 -DBUILDNUMBER=\$$buildnumber,$(SED) "s/BUILDNUMBER/\$$buildnumber/g",' -i '$(1)/build/win32/compile-resource'
544548c7cae9 new package: libpano13 (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(SED) 's,mv.*libpano13\.dll.*,,' -i '$(1)/Makefile.in'
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