summaryrefslogtreecommitdiff
path: root/cyrus-sasl/cyrus-sasl_2.1.19.oe
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-10-11 15:05:02 +0000
committerMatthias Hentges <oe@hentges.net>2004-10-11 15:05:02 +0000
commitda9e38236f66050e87d8bd2c8f05f2326282aa58 (patch)
treeb9bfd64e913f7d98403f7105f43a7ba6bf5f8469 /cyrus-sasl/cyrus-sasl_2.1.19.oe
parenteaf972b286b334de7e24cf399de92627f89f3175 (diff)
More section fixes
BKrev: 416aa11e6aH4cgLtXbfv7aBu9HJHoQ
Diffstat (limited to 'cyrus-sasl/cyrus-sasl_2.1.19.oe')
-rw-r--r--cyrus-sasl/cyrus-sasl_2.1.19.oe38
1 files changed, 38 insertions, 0 deletions
diff --git a/cyrus-sasl/cyrus-sasl_2.1.19.oe b/cyrus-sasl/cyrus-sasl_2.1.19.oe
index e69de29bb2..0ad919e036 100644
--- a/cyrus-sasl/cyrus-sasl_2.1.19.oe
+++ b/cyrus-sasl/cyrus-sasl_2.1.19.oe
@@ -0,0 +1,38 @@
+SECTION = "console/network"
+DEPENDS = "db3"
+DESCRIPTION = "Generic client/server library for SASL authentication."
+
+SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${PV}.tar.gz"
+
+inherit autotools
+
+acpaths = "-I ${S}/cmulocal -I ${S}/config -I ."
+CFLAGS_append = " -I${S}/include -I${S}/saslauthd/include"
+EXTRA_OECONF = "--enable-shared --enable-static --with-dblib=berkeley \
+ --with-bdb-libdir=${STAGING_LIBDIR} \
+ --with-bdb-incdir=${STAGING_INCDIR} \
+ --without-opie --without-des"
+
+do_configure_prepend () {
+ rm -f acinclude.m4 config/libtool.m4
+}
+
+do_compile_prepend () {
+ cd include
+ ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} makemd5.c -o makemd5
+ touch makemd5.o makemd5.lo makemd5
+ cd ..
+}
+
+do_stage () {
+ oe_libinstall -so -a -C lib libsasl2 ${STAGING_LIBDIR}
+ install -d ${STAGING_LIBDIR}/sasl
+ install -d ${STAGING_INCDIR}/sasl
+ install -m 0644 ${S}/include/hmac-md5.h ${STAGING_INCDIR}/sasl/
+ install -m 0644 ${S}/include/md5.h ${STAGING_INCDIR}/sasl/
+ install -m 0644 ${S}/include/md5global.h ${STAGING_INCDIR}/sasl/
+ install -m 0644 ${S}/include/sasl.h ${STAGING_INCDIR}/sasl/
+ install -m 0644 ${S}/include/saslplug.h ${STAGING_INCDIR}/sasl/
+ install -m 0644 ${S}/include/saslutil.h ${STAGING_INCDIR}/sasl/
+ install -m 0644 ${S}/include/prop.h ${STAGING_INCDIR}/sasl/
+}