wok annotate cifs-utils/receipt @ rev 18270
Up tazpanel(522)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 07 02:40:28 2015 +0300 (2015-08-07) |
parents | 431a7ea3fd92 |
children | 42e0165c64b9 |
rev | line source |
---|---|
pascal@15328 | 1 # SliTaz package receipt. |
pascal@15328 | 2 |
pascal@15328 | 3 PACKAGE="cifs-utils" |
pascal@15328 | 4 VERSION="6.1" |
pascal@15328 | 5 CATEGORY="system-tools" |
pascal@15328 | 6 SHORT_DESC="CIFS userland tools." |
pascal@15328 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15328 | 8 LICENSE="GPL3" |
pascal@15328 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15328 | 10 WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils" |
pascal@15328 | 11 WGET_URL="ftp://ftp.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL" |
pascal@15328 | 12 PROVIDE="smbfs" |
pascal@15328 | 13 |
pascal@15328 | 14 BUILD_DEPENDS="" |
pascal@15328 | 15 DEPENDS="linux-cifs" |
pascal@15328 | 16 |
pascal@15328 | 17 # Rules to configure and make the package. |
pascal@15328 | 18 compile_rules() |
pascal@15328 | 19 { |
pascal@15328 | 20 ./configure --prefix=/usr \ |
pascal@15328 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@15328 | 22 make && |
pascal@15328 | 23 make DESTDIR=$DESTDIR install |
pascal@15328 | 24 } |
pascal@15328 | 25 |
pascal@15328 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15328 | 27 genpkg_rules() |
pascal@15328 | 28 { |
pascal@15328 | 29 mkdir -p $fs/usr/sbin |
pascal@15328 | 30 cp -a $install/sbin $fs |
pascal@15611 | 31 cd $fs/usr/sbin |
pascal@15328 | 32 ln -s ../../sbin/mount.cifs . |
pascal@15328 | 33 ln -s ../../sbin/mount.cifs umount.cifs |
pascal@15328 | 34 } |