From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- package/cyrus-sasl/Makefile | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'package/cyrus-sasl/Makefile') diff --git a/package/cyrus-sasl/Makefile b/package/cyrus-sasl/Makefile index 9fd2e6f8b..65169cf89 100644 --- a/package/cyrus-sasl/Makefile +++ b/package/cyrus-sasl/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= cyrus-sasl PKG_VERSION:= 2.1.23 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 2eb0e48106f0e9cd8001e654f267ecbc PKG_DESCR:= a general purpose authentication library PKG_SECTION:= libs @@ -14,15 +14,12 @@ PKG_DEPENDS:= libopenssl PKG_URL:= http://asg.web.cmu.edu/sasl/ PKG_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/ PKG_NOPARALLEL:= 1 - -PKG_SUBPKGS:= LIBSASL2 LIBSASL2_DEV -PKGSD_LIBSASL2_DEV:= sasl2 headers -PKGSC_LIBSASL2_DEV:= devel +PKG_LIBNAME:= libsasl2 +PKG_OPTS:= dev include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBSASL2_DEV,libsasl2-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSASL2_DEV},${PKGSC_LIBSASL2_DEV})) +$(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) CONFIGURE_ARGS+= --enable-staticdlopen \ --enable-cram \ @@ -78,8 +75,4 @@ libsasl2-install: ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \ ${IDIR_LIBSASL2}/usr/lib/sasl2 -libsasl2-dev-install: - ${INSTALL_DIR} ${IDIR_LIBSASL2_DEV}/usr/include - ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBSASL2_DEV}/usr/include - include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3