summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-06-03 18:25:47 +0000
committerPhil Blundell <philb@gnu.org>2004-06-03 18:25:47 +0000
commitec6abaffd2165dc9e99c7cf744fcccac9b73f91d (patch)
treec92d466f8f0c5920f7d6759257adfbd21a285e00
parent4f2d36ffab806e7e07828fe611a24c41ebf85481 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into gandalf.tm.informatik.uni-frankfurt.de:/home/pb_/packages 2004/06/03 20:25:42+02:00 uni-frankfurt.de!pb_ libsmbclient packaging changes BKrev: 40bf6d2buh2kThuVdYNTYXTJnxnuZg
-rw-r--r--samba/samba_3.0.4.oe11
1 files changed, 11 insertions, 0 deletions
diff --git a/samba/samba_3.0.4.oe b/samba/samba_3.0.4.oe
index 9799f7d215..1a45b37b87 100644
--- a/samba/samba_3.0.4.oe
+++ b/samba/samba_3.0.4.oe
@@ -4,6 +4,10 @@ SRC_URI := "http://samba.mirror.ac.uk/samba/ftp/samba-${PV}.tar.gz \
file://${FILESDIR}/configure.patch;patch=1"
S := ${WORKDIR}/${P}/source
+PACKAGES =+ "libsmbclient libsmbclient-dev "
+FILES_libsmbclient = "${libdir}/libsmbclient.so.*"
+FILES_libsmbclient-dev = "${libdir}/libsmbclient.so ${includedir}"
+
inherit autotools
EXTRA_OECONF='--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
@@ -15,6 +19,13 @@ do_configure_prepend () {
fi
}
+do_install_append() {
+ mv ${D}${libdir}/libsmbclient.so ${D}${libdir}/libsmbclient.so.0
+ ln -sf libsmbclient.so.0 ${D}${libdir}/libsmbclient.so
+ rm -f ${D}${bindir}/*.old
+ rm -f ${D}${sbindir}/*.old
+}
+
do_stage() {
install -m 0644 include/libsmbclient.h ${STAGING_INCDIR}
oe_libinstall -C bin -a -so libsmbclient ${STAGING_LIBDIR}