summaryrefslogtreecommitdiff
path: root/recipes/samba/samba.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-30 14:08:53 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-30 14:08:53 +0200
commit22f2fe8b5b835a86ce64105661f978f976a7b1ba (patch)
tree339fbed02f25deedf9e5fbc378abb29bd18d0b17 /recipes/samba/samba.inc
parentabd27ee079540ef9159bc305ba38ccf824036b99 (diff)
samba 3.3.0: tdb fixes from poky
Diffstat (limited to 'recipes/samba/samba.inc')
-rw-r--r--recipes/samba/samba.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/samba/samba.inc b/recipes/samba/samba.inc
index 36de08beca..ec21ed70b0 100644
--- a/recipes/samba/samba.inc
+++ b/recipes/samba/samba.inc
@@ -6,6 +6,7 @@ SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
file://volatiles.03_samba \
file://smb.conf \
file://init \
+ file://tdb.pc \
"
S = "${WORKDIR}/samba-${PV}/source"
@@ -55,6 +56,8 @@ do_compile () {
}
do_install_append() {
+ install -d ${D}${libdir}/pkgconfig/
+ cp ${WORKDIR}/tdb.pc ${D}${libdir}/pkgconfig/
mv ${D}${libdir}/libsmbclient.so ${D}${libdir}/libsmbclient.so.0 || true
ln -sf libsmbclient.so.0 ${D}${libdir}/libsmbclient.so
mkdir -p ${D}${base_sbindir}
@@ -83,4 +86,7 @@ do_stage() {
oe_libinstall -C bin -a -so libtdb ${STAGING_LIBDIR}
oe_libinstall -C bin -a -so libtalloc ${STAGING_LIBDIR}
oe_libinstall -C bin -so libwbclient ${STAGING_LIBDIR}
+ install -d ${STAGING_LIBDIR}/pkgconfig/
+ install -m 0644 ${WORKDIR}/tdb.pc ${STAGING_LIBDIR}/pkgconfig/
+ install -m 0644 ${S}/lib/tdb/include/*.h ${STAGING_INCDIR}/
}