summaryrefslogtreecommitdiffstats
path: root/recipes/samba/samba-essential.inc
blob: 0067265f02487b2111c253695db1471387f76590 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "readline"
	       
SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
           file://configure.patch \
           file://cifs.patch"
S = "${WORKDIR}/samba-${PV}/source"

inherit autotools

EXTRA_OECONF = '--disable-cups --with-readline=${STAGING_LIBDIR}/.. \
	      --without-ads --without-automount --without-smbmount --without-syslog \
	      --without-ldapsam --without-quotas --without-nisplus-home \
	      --without-sys-quotas --without-libsmbclient --without-winbind \
	      --without-acl-support'
	      
do_configure_prepend () {
	./script/mkversion.sh
	if [ ! -e acinclude.m4 ]; then
		cat aclocal.m4 > acinclude.m4
	fi
}

do_compile () {
	oe_runmake proto_exists
	base_do_compile
}

do_install_append() {
	rm -f ${D}${bindir}/*.old
	rm -f ${D}${sbindir}/*.old
	
	mkdir -p ${D}/sbin/
}

do_install_prepend() {

        mkdir -p ${D}/sbin/
       
}