diff options
Diffstat (limited to 'packages/samba/samba-essential.inc')
-rw-r--r-- | packages/samba/samba-essential.inc | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/samba/samba-essential.inc b/packages/samba/samba-essential.inc new file mode 100644 index 0000000000..55d14c2a4c --- /dev/null +++ b/packages/samba/samba-essential.inc @@ -0,0 +1,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/ + +} + |