diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-04 21:29:51 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-04 21:29:51 +0100 |
commit | a8c2f992ffdcd61def5614187d77f0f6dcaddb04 (patch) | |
tree | ef12e9dfa7cacdf7d9ae5b4d03e37379ebb1348e /package/cyrus-sasl | |
parent | b4b676ce7436ce3e6f9f6b20cc2004d3d721ea6e (diff) |
add a devel subpackage
Diffstat (limited to 'package/cyrus-sasl')
-rw-r--r-- | package/cyrus-sasl/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/package/cyrus-sasl/Makefile b/package/cyrus-sasl/Makefile index 19ad1e27e..5a5dcfd4a 100644 --- a/package/cyrus-sasl/Makefile +++ b/package/cyrus-sasl/Makefile @@ -15,11 +15,12 @@ PKG_URL:= http://asg.web.cmu.edu/sasl/ PKG_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/ PKG_NOPARALLEL:= 1 -PKG_SUBPKGS:= LIBSASL2 +PKG_SUBPKGS:= LIBSASL2 LIBSASL2_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},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_ARGS+= --disable-sample \ --enable-staticdlopen \ @@ -69,10 +70,14 @@ pre-build: CPPFLAGS="" \ makemd5 -post-install: +libsasl2-install: ${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2 - ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib/ + ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib ${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \ - ${IDIR_LIBSASL2}/usr/lib/sasl2/ + ${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 |