annotate src/pdflib_lite.mk @ 170:194ae633dc3b

translated package: pdflib_lite
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 09 Nov 2008 04:29:50 +0100
parents
children b279dbda0f54
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
170
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # PDFlib Lite
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # http://www.pdflib.com/download/pdflib-family/pdflib-lite/
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := pdflib_lite
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_VERSION := 7.0.3
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_SUBDIR := PDFlib-Lite-$($(PKG)_VERSION)
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_FILE := PDFlib-Lite-$($(PKG)_VERSION).tar.gz
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := http://www.pdflib.com/binaries/PDFlib/$(subst .,,$($(PKG)_VERSION))/$($(PKG)_FILE)
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_DEPS := gcc zlib libpng tiff jpeg
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 wget -q -O- 'http://www.pdflib.com/download/pdflib-family/pdflib-lite/' | \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(SED) -n 's,.*PDFlib-Lite-\([0-9][^>]*\)\.tar.*,\1,p' | \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 head -1
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 endef
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 define $(PKG)_BUILD
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) 's,ac_sys_system=`uname -s`,ac_sys_system=MinGW,' -i '$(1)/configure'
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --disable-shared \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --with-pnglib='$(PREFIX)/$(TARGET)' \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --with-tifflib='$(PREFIX)/$(TARGET)' \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --with-zlib='$(PREFIX)/$(TARGET)' \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --without-openssl \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --without-java \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --without-py \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --without-perl \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --without-ruby \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --without-tcl \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-php \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --enable-cxx \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --enable-large-files \
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 CFLAGS='-D_IOB_ENTRIES=20'
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 $(SED) 's,-DPDF_PLATFORM=[^ ]* ,,' -i '$(1)/config/mkcommon.inc'
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 $(MAKE) -C '$(1)/libs' -j '$(JOBS)' all
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 $(MAKE) -C '$(1)/libs' -j 1 install
194ae633dc3b translated package: pdflib_lite
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 endef