summaryrefslogtreecommitdiff
path: root/package/libtiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-04 21:37:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-04 21:37:01 +0100
commit9bacd09cc5280924908fc4bba494856bbe37c47f (patch)
tree7a6d58d0887eda74012b461389db21015062c459 /package/libtiff
parent6045422139a0dbbefaf508b1343f11535d6b104e (diff)
some more additions for gtk+ library porting
Diffstat (limited to 'package/libtiff')
-rw-r--r--package/libtiff/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/libtiff/Makefile b/package/libtiff/Makefile
index 90aa220d4..13bc06ac5 100644
--- a/package/libtiff/Makefile
+++ b/package/libtiff/Makefile
@@ -15,9 +15,13 @@ PKG_SITES:= ftp://ftp.remotesensing.org/pub/libtiff/
DISTFILES:= tiff-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/tiff-${PKG_VERSION}
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-cxx
@@ -26,6 +30,6 @@ INSTALL_STYLE= auto
post-install:
${INSTALL_DIR} ${IDIR_LIBTIFF}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libtiff.so.* ${IDIR_LIBTIFF}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libtiff.so* ${IDIR_LIBTIFF}/usr/lib/
include ${TOPDIR}/mk/pkg-bottom.mk