samba, samba-essential: Move IFACE related autoconf variables to common-linux site...
[vuplus_openembedded] / packages / samba / samba_3.0.23c.bb
index 4425449..f477001 100644 (file)
@@ -1,16 +1,13 @@
-PR = "r0"
+require samba.inc
+inherit update-rc.d
 
-SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
-          file://configure.patch;patch=1 \
-          file://cifs.patch;patch=1 \
-          file://config-lfs.patch;patch=1 \
+PR = "r3"
+
+SRC_URI += "file://config-lfs.patch;patch=1 \
           file://init \
            file://quota.patch;patch=1;pnum=0 \
+          file://cifs.patch;patch=1 \
           "
-S = ${WORKDIR}/${P}/source
-
-include samba.inc
-inherit update-rc.d
 
 INITSCRIPT_NAME = "samba"
 # No dependencies, goes in at level 20 (NOTE: take care with the
@@ -50,4 +47,4 @@ FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"
 FILES_${PN} += "${libdir}/vfs/*.so ${libdir}/charset/*.so ${libdir}/*.dat ${libdir}/auth/*.so"
 #
 # bug fix for samba.inc:
-FILES_cifs-doc = "${mandir}/man8/mount.cifs.8"
+FILES_cifs-doc += "${mandir}/man8/mount.cifs.8"