cifs-utils: Add recipe based on the 5.x recipe of meta-networking
This commit is contained in:
parent
d9ebe05799
commit
e2853d21b5
|
@ -0,0 +1,29 @@
|
|||
DESCRIPTION = "A a package of utilities for doing and managing mounts of the Linux CIFS filesystem."
|
||||
HOMEPAGE = "http://wiki.samba.org/index.php/LinuxCIFS_utils"
|
||||
|
||||
LICENSE = "GPLv3 & LGPLv3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
SRCREV = "ec983ad90408b689408c2c89179bf8f7b35665a6"
|
||||
SRC_URI = "git://git.samba.org/cifs-utils.git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap"
|
||||
# when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed
|
||||
PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils"
|
||||
# when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed
|
||||
PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 talloc keyutils"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_install_append() {
|
||||
# Remove empty /usr/bin and /usr/sbin directories since the mount helper
|
||||
# is installed to /sbin
|
||||
rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir}
|
||||
}
|
||||
|
||||
RRECOMMENDS_${PN} = "kernel-module-cifs"
|
Loading…
Reference in New Issue