ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit bc36e6f9d6884c0f5a5d50b09f7686e9b91ef95b
parent 9af7b4bb5d16b5c1b11e5a508f92e94cc6515c46
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 19 Jun 2014 17:17:48 +0200

add libtiff

initial version, probably needs more work, see TODO notes.

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Alibtiff/checksums | 1+
Alibtiff/depsinc.mk | 11+++++++++++
Alibtiff/libtiff.mk | 23+++++++++++++++++++++++
Alibtiff/mkfile | 6++++++
Alibtiff/v.mk | 1+
5 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/libtiff/checksums b/libtiff/checksums @@ -0,0 +1 @@ +d80e18b00e9e696a30b954c0d92e5f2f773fd9a7a0a944cf6cabb69c1798e671506580daa1cd2ebf493ae922000170c2491dfc6d4c0a9cd0b865684070595a73 tiff-4.0.3.tar.gz diff --git a/libtiff/depsinc.mk b/libtiff/depsinc.mk @@ -0,0 +1,11 @@ +<$libtiff_DEPDIR/v.mk + +libtiff_bindir = ${libtiff_DEPDIR}/tiff-$v/lib/bin +libtiff_libdir = ${libtiff_DEPDIR}/tiff-$v/lib/lib +libtiff_includedir = ${libtiff_DEPDIR}/libX11-$v/lib/include + +libtiff_CFLAGS = -I${libtiff_includedir} +libtiff_LDFLAGS = -L${libtiff_libdir} -ltiff + +DEPS_CFLAGS = $DEPS_CFLAGS ${libtiff_CFLAGS} +DEPS_LDFLAGS = $DEPS_LDFLAGS ${libtiff_LDFLAGS} diff --git a/libtiff/libtiff.mk b/libtiff/libtiff.mk @@ -0,0 +1,23 @@ +TARG = libtiff +# TODO: enable more stuff? +# DEPS = libjpeg zlib xz + +<$mkbuild/mk.common-noinst + +libtiff:QV: + CC="$CC" ./configure \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --disable-zlib \ + --disable-mdi \ + --disable-jpeg \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR=`pwd`/lib + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/libtiff/mkfile b/libtiff/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = tiff-$v +url = http://download.osgeo.org/libtiff/tiff-$v.tar.gz +mkfile = ../libtiff.mk diff --git a/libtiff/v.mk b/libtiff/v.mk @@ -0,0 +1 @@ +v = 4.0.3