wok-next view cifs-utils/receipt @ rev 20957

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 15:26:05 2018 +0300 (2018-09-05)
parents 4396aed7eb01
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cifs-utils"
4 VERSION="6.1"
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="ftp://ftp.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
14 SPLIT="cifs-utils-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
24 cook_pick_manpages *.1
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 cifs-utils)
30 mkdir -p $fs/usr/sbin
31 cp -a $install/sbin $fs
32 cd $fs/usr/sbin
33 ln -s ../../sbin/mount.cifs .
34 ln -s ../../sbin/mount.cifs umount.cifs
35 DEPENDS="linux-cifs"
36 PROVIDE="smbfs"
37 ;;
38 *-dev)
39 mkdir -p $fs/usr
40 cp -a $install/usr/include $fs/usr
41 ;;
42 esac
43 }