Merge bk://openembedded@openembedded.bkbits.net/packages
authorPhil Blundell <philb@gnu.org>
Wed, 2 Jun 2004 07:42:37 +0000 (07:42 +0000)
committerPhil Blundell <philb@gnu.org>
Wed, 2 Jun 2004 07:42:37 +0000 (07:42 +0000)
into gandalf.tm.informatik.uni-frankfurt.de:/home/pb_/packages

2004/06/02 09:42:32+02:00 uni-frankfurt.de!pb_
add staging for samba

BKrev: 40bd84edlM9BwPlcDBMIjIXnVVizDQ

samba/samba_3.0.4.oe

index e69de29..9799f7d 100644 (file)
@@ -0,0 +1,21 @@
+DEPENDS = readline
+
+SRC_URI := "http://samba.mirror.ac.uk/samba/ftp/samba-${PV}.tar.gz \
+          file://${FILESDIR}/configure.patch;patch=1"
+S := ${WORKDIR}/${P}/source
+
+inherit autotools
+
+EXTRA_OECONF='--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
+             --without-ads --without-automount'
+do_configure_prepend () {
+       ./script/mkversion.sh
+       if [ ! -e acinclude.m4 ]; then
+               cat aclocal.m4 > acinclude.m4
+       fi
+}
+
+do_stage() {
+       install -m 0644 include/libsmbclient.h ${STAGING_INCDIR}
+       oe_libinstall -C bin -a -so libsmbclient ${STAGING_LIBDIR}
+}