summaryrefslogtreecommitdiff
path: root/package/apr
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/apr
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/apr')
-rw-r--r--package/apr/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/package/apr/Makefile b/package/apr/Makefile
index 586495e24..ba53c9c92 100644
--- a/package/apr/Makefile
+++ b/package/apr/Makefile
@@ -5,25 +5,21 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= apr
PKG_VERSION:= 1.4.6
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 76cc4457fbb71eefdafa27dba8f511fb
PKG_DESCR:= Apache Portable Runtime library
PKG_SECTION:= libs
PKG_DEPENDS:= libpthread
PKG_URL:= http://apr.apache.org/
PKG_SITES:= http://gd.tuwien.ac.at/infosys/servers/http/apache/dist/${PKG_NAME}/
-
-PKG_SUBPKGS:= APR APR_DEV
-PKGSC_APR_DEV:= devel
-PKGSD_APR_DEV:= apr headers
+PKG_OPTS:= dev
PKG_FLAVOURS_APR:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,APR,apr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,APR_DEV,apr-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_APR_DEV},${PKGSC_APR_DEV}))
+$(eval $(call PKG_template,APR,apr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
@@ -57,8 +53,4 @@ apr-install:
${INSTALL_DIR} ${STAGING_DIR}/usr/share/build-1
${CP} ${WRKINST}/usr/share/build-1/* ${STAGING_DIR}/usr/share/build-1/
-apr-dev-install:
- ${INSTALL_DIR} ${IDIR_APR_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_APR_DEV}/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk