summaryrefslogtreecommitdiff
path: root/packages/samba/samba-essential.inc
blob: 55d14c2a4ce6968d4e24e080674f37a41a490aaa (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
SECTION = "console/network"
DEPENDS = readline
LICENSE = "GPL"
	       
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/
       
}