summaryrefslogtreecommitdiff
path: root/packages/samba
diff options
context:
space:
mode:
Diffstat (limited to 'packages/samba')
-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"