summaryrefslogtreecommitdiff
path: root/package/libpng
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/libpng
parent6045422139a0dbbefaf508b1343f11535d6b104e (diff)
some more additions for gtk+ library porting
Diffstat (limited to 'package/libpng')
-rw-r--r--package/libpng/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/libpng/Makefile b/package/libpng/Makefile
index 9d95fd0ba..9a685a1a3 100644
--- a/package/libpng/Makefile
+++ b/package/libpng/Makefile
@@ -13,13 +13,17 @@ PKG_DEPENDS:= zlib
PKG_URL:= http://www.libpng.org/pub/png/libpng.html
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libpng/}
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBPNG,libpng,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBPNG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-CONFIGURE_STYLE= gnu
-BUILD_STYLE= auto
-INSTALL_STYLE= auto confprog
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto confprog
post-install:
${INSTALL_DIR} ${IDIR_LIBPNG}/usr/lib