wok-next view cifs-utils/receipt @ rev 21159
updated diffutils (3.6 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 08:46:59 2019 +0100 (2019-02-20) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cifs-utils"
4 VERSION="6.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="CIFS userland tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="pam-dev krb5-dev keyutils-dev samba-dev python3-docutils \
15 libcap-dev libcap-ng-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's|^LIBCAP_NG_PATH$||' configure # fix 'command not found'
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make install || return 1
25 mkdir -p $install/usr/sbin/
26 ln -s ../../sbin/mount.cifs $install/usr/sbin/mount.cifs
27 ln -s ../../sbin/mount.cifs $install/usr/sbin/umount.cifs
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 cifs-utils)
33 copy @std
34 DEPENDS="keyutils libcap libkrb5 pam samba talloc linux-cifs"
35 PROVIDE="smbfs"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }