wok-6.x annotate cifs-utils/receipt @ rev 19315
Check manpages... to ddd.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 15:00:21 2016 +0300 (2016-07-12) |
parents | f13bd223c231 |
children | 401224c936cc |
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" |
al@19315 | 9 WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils" |
pascal@15328 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 |
al@19315 | 24 |
al@19315 | 25 cook_pick_manpages *.1 |
pascal@15328 | 26 } |
pascal@15328 | 27 |
pascal@15328 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15328 | 29 genpkg_rules() |
pascal@15328 | 30 { |
pascal@15328 | 31 mkdir -p $fs/usr/sbin |
pascal@15328 | 32 cp -a $install/sbin $fs |
pascal@15611 | 33 cd $fs/usr/sbin |
pascal@15328 | 34 ln -s ../../sbin/mount.cifs . |
pascal@15328 | 35 ln -s ../../sbin/mount.cifs umount.cifs |
pascal@15328 | 36 } |