summaryrefslogtreecommitdiff
path: root/recipes/samba/samba_3.0.34.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/samba/samba_3.0.34.bb')
-rw-r--r--recipes/samba/samba_3.0.34.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/samba/samba_3.0.34.bb b/recipes/samba/samba_3.0.34.bb
new file mode 100644
index 0000000000..d43c50dcdb
--- /dev/null
+++ b/recipes/samba/samba_3.0.34.bb
@@ -0,0 +1,25 @@
+require samba.inc
+require samba-basic.inc
+
+SRC_URI += "file://configure.patch;patch=1 \
+ "
+SRC_URI_append_linux-uclibc = "file://uclibc-strlcpy-strlcat.patch;patch=1"
+SRC_URI_append_linux-uclibcgnueabi = "file://uclibc-strlcpy-strlcat.patch;patch=1"
+
+PR = "r5"
+
+PACKAGES =+ " smbfs smbfs-doc"
+
+FILES_smbfs = "${bindir}/smbmount ${bindir}/smbumount ${bindir}/smbmnt ${base_sbindir}/mount.smbfs ${base_sbindir}/mount.smb"
+RCONFLICTS_smbfs-doc = "smbfs-ads-doc"
+FILES_smbfs-doc = "${mandir}/man8/smbmount.8 ${mandir}/man8/smbumount.8 ${mandir}/man8/smbmnt.8"
+
+EXTRA_OECONF += "\
+ SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
+ --with-smbmount \
+ "
+
+do_stage() {
+ install -m 0644 include/libsmbclient.h ${STAGING_INCDIR}
+ oe_libinstall -C bin -a -so libsmbclient ${STAGING_LIBDIR}
+}