summaryrefslogtreecommitdiff
path: root/package/cyrus-sasl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-04 22:06:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-04 22:06:23 +0100
commit783c5c8160ab86b9502a33ad9144fdefeb0e0084 (patch)
tree6c54622698900bb666eb78019bcf732f95ac6fa1 /package/cyrus-sasl/Makefile
parent71855c832d1b9f1557f3663570d2adf9422d8df5 (diff)
parent71d64690550602953eea0737507cbc47999b4126 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/cyrus-sasl/Makefile')
-rw-r--r--package/cyrus-sasl/Makefile13
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