wok-next diff cifs-utils/receipt @ rev 20526
Up mtpaint (3.49.13)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 17:51:29 2018 +0200 (2018-03-23) |
parents | 42e0165c64b9 |
children | a3c581bf52b8 |
line diff
1.1 --- a/cifs-utils/receipt Tue Jul 12 15:00:21 2016 +0300 1.2 +++ b/cifs-utils/receipt Fri Mar 23 17:51:29 2018 +0200 1.3 @@ -1,36 +1,43 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cifs-utils" 1.8 VERSION="6.1" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="CIFS userland tools." 1.11 +SHORT_DESC="CIFS userland tools" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL3" 1.14 WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 WGET_URL="ftp://ftp.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL" 1.18 -PROVIDE="smbfs" 1.19 1.20 -BUILD_DEPENDS="" 1.21 -DEPENDS="linux-cifs" 1.22 +SPLIT="cifs-utils-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - ./configure --prefix=/usr \ 1.28 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.29 +compile_rules() { 1.30 + ./configure \ 1.31 + --prefix=/usr \ 1.32 + --mandir=/usr/share/man \ 1.33 + $CONFIGURE_ARGS && 1.34 make && 1.35 make DESTDIR=$DESTDIR install 1.36 1.37 cook_pick_manpages *.1 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/sbin 1.44 - cp -a $install/sbin $fs 1.45 - cd $fs/usr/sbin 1.46 - ln -s ../../sbin/mount.cifs . 1.47 - ln -s ../../sbin/mount.cifs umount.cifs 1.48 +genpkg_rules() { 1.49 + case $PACKAGE in 1.50 + cifs-utils) 1.51 + mkdir -p $fs/usr/sbin 1.52 + cp -a $install/sbin $fs 1.53 + cd $fs/usr/sbin 1.54 + ln -s ../../sbin/mount.cifs . 1.55 + ln -s ../../sbin/mount.cifs umount.cifs 1.56 + DEPENDS="linux-cifs" 1.57 + PROVIDE="smbfs" 1.58 + ;; 1.59 + *-dev) 1.60 + mkdir -p $fs/usr 1.61 + cp -a $install/usr/include $fs/usr 1.62 + ;; 1.63 + esac 1.64 }