summaryrefslogtreecommitdiff
path: root/recipes/samba/samba_3.0.34.bb
blob: 54a6b0a9071cf638a6d7672bbcb760bd60bba33e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require samba.inc
require samba-basic.inc

SRC_URI += "file://configure.patch \
            "
SRC_URI_append_linux-uclibc        = "file://uclibc-strlcpy-strlcat.patch"
SRC_URI_append_linux-uclibceabi = "file://uclibc-strlcpy-strlcat.patch"

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}
}

SRC_URI[src.md5sum] = "62404f39bb3dd0a37d6396c57e04c907"
SRC_URI[src.sha256sum] = "530793de9f4114f4b391d932e2833baf25a00498317471cd75a068f3378c299e"