wok-6.x annotate cifs-utils/receipt @ rev 22712
Add cifs-utils-quota
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 22 11:48:55 2020 +0100 (2020-01-22) |
parents | 3efe33e068cd |
children | c9fa368eb94f |
rev | line source |
---|---|
pascal@15328 | 1 # SliTaz package receipt. |
pascal@15328 | 2 |
pascal@15328 | 3 PACKAGE="cifs-utils" |
Hans-G?nter@22597 | 4 VERSION="6.10" |
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@20669 | 9 WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils" |
Hans-G?nter@20788 | 10 |
pascal@15328 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20194 | 12 WGET_URL="https://download.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL" |
Hans-G?nter@20788 | 13 |
pascal@15328 | 14 PROVIDE="smbfs" |
Hans-G?nter@22598 | 15 DEPENDS="attr gcc83-lib-base libcap linux-cifs" |
Hans-G?nter@22598 | 16 BUILD_DEPENDS="autoconf automake gcc83 krb5-dev libcap-dev samba-dev talloc-dev" |
pascal@15328 | 17 |
pascal@15328 | 18 # Rules to configure and make the package. |
pascal@15328 | 19 compile_rules() |
pascal@15328 | 20 { |
Hans-G?nter@22597 | 21 autoreconf -i && |
Hans-G?nter@22597 | 22 ./configure \ |
Hans-G?nter@22598 | 23 CC=gcc-83 \ |
pascal@22712 | 24 CXX=g++-83 \ |
Hans-G?nter@22597 | 25 --prefix=/usr \ |
Hans-G?nter@20788 | 26 $CONFIGURE_ARGS && |
pascal@15328 | 27 make && |
pascal@15328 | 28 make DESTDIR=$DESTDIR install |
pascal@15328 | 29 } |
pascal@15328 | 30 |
pascal@15328 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15328 | 32 genpkg_rules() |
pascal@15328 | 33 { |
pascal@22712 | 34 mkdir -p $fs/usr/bin |
pascal@15328 | 35 mkdir -p $fs/usr/sbin |
Hans-G?nter@22597 | 36 |
pascal@22712 | 37 cp -a $install/sbin $fs |
pascal@22712 | 38 cp -a $install/usr/bin/smbinfo $fs/usr |
pascal@22712 | 39 ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs |
pascal@22712 | 40 ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs |
pascal@15328 | 41 } |