summaryrefslogtreecommitdiff
path: root/packages/samba/samba_3.0.23c.bb
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-26 00:07:10 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-26 00:07:10 +0000
commitc4f81685b4e27dff44627bfb77a9ac161e814f1c (patch)
treedcc1867b4329d6210063e465acf8618a3cc419e4 /packages/samba/samba_3.0.23c.bb
parentc321517c3aa1754d8c3e283b916f23eb18e96cd3 (diff)
samba: Make 3.0.23c build again since its still an om preferred version
Diffstat (limited to 'packages/samba/samba_3.0.23c.bb')
-rw-r--r--packages/samba/samba_3.0.23c.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/samba/samba_3.0.23c.bb b/packages/samba/samba_3.0.23c.bb
index 96343aa6a4..369833aa70 100644
--- a/packages/samba/samba_3.0.23c.bb
+++ b/packages/samba/samba_3.0.23c.bb
@@ -31,6 +31,12 @@ EXTRA_OECONF += "\
--with-swatdir=${datadir}/swat \
"
+do_compile () {
+ oe_runmake proto_exists
+ base_do_compile
+ ${CC} client/mount.cifs.c -o mount.cifs
+}
+
do_install_append() {
install -d "${D}${localstatedir}/log"
install -d "${D}${sysconfdir}/init.d"
@@ -39,6 +45,11 @@ do_install_append() {
install -c -m 644 ../examples/smb.conf.default ${D}${sysconfdir}/samba/smb.conf
}
+do_stage() {
+ install -m 0644 include/libsmbclient.h ${STAGING_INCDIR}
+ oe_libinstall -C bin -a -so libsmbclient ${STAGING_LIBDIR}
+}
+
PACKAGES =+ "swat"
FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"