From c79befcc1a0791df92460439f933843661db82e2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 28 Aug 2009 21:35:19 +0200 Subject: add more packages needed for native builds - add bison,flex,diffutils,autoconf,automake,libtool,m4,gperf - add {glibc,eglibc,uclibc}-dev packages - add libz/libncurses development packages - add PKG_OPTS to setup special options for packages noremove is needed for uclibc/eglibc/glibc packages, otherwise needed headers will be removed slightly tested, still in development --- package/zlib/Config.in | 10 ++++++++++ package/zlib/Makefile | 3 +++ 2 files changed, 13 insertions(+) (limited to 'package/zlib') diff --git a/package/zlib/Config.in b/package/zlib/Config.in index 5c5698815..2d4be8d8d 100644 --- a/package/zlib/Config.in +++ b/package/zlib/Config.in @@ -7,3 +7,13 @@ config ADK_PACKAGE_ZLIB http://www.zlib.net/ +config ADK_PACKAGE_ZLIB_DEV + prompt "zlib-dev........................ Zlib development files" + tristate + depends on ADK_PACKAGE_ZLIB + default n + help + A library implementing the 'deflate' compression method + http://www.zlib.net/ + + diff --git a/package/zlib/Makefile b/package/zlib/Makefile index b67959549..1428154c2 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -18,6 +18,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,ZLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,ZLIB_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE= manual BUILD_STYLE= auto @@ -38,5 +39,7 @@ do-configure: post-install: ${INSTALL_DIR} ${IDIR_ZLIB}/usr/lib ${CP} ${WRKBUILD}/libz.so* ${IDIR_ZLIB}/usr/lib + ${INSTALL_DIR} ${IDIR_ZLIB_DEV}/usr/include + ${CP} ${WRKBUILD}/*.h ${IDIR_ZLIB_DEV}/usr/include include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3