aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/samba/samba-essential.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/samba/samba-essential.inc')
-rw-r--r--recipes/samba/samba-essential.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes/samba/samba-essential.inc b/recipes/samba/samba-essential.inc
new file mode 100644
index 0000000000..d718fc8a96
--- /dev/null
+++ b/recipes/samba/samba-essential.inc
@@ -0,0 +1,42 @@
+SECTION = "console/network"
+LICENSE = "GPL"
+DEPENDS = "readline"
+
+SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
+ file://configure.patch;patch=1 \
+ file://cifs.patch;patch=1"
+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/
+
+}
+