# HG changeset patch # User Pascal Bellard # Date 1579690135 -3600 # Node ID 1974896886e327319f4bfb0ca375e88f2361a059 # Parent 2843032e6a9b6af21951d6300a25f3859486252c Add cifs-utils-quota diff -r 2843032e6a9b -r 1974896886e3 cifs-utils-quota/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cifs-utils-quota/receipt Wed Jan 22 11:48:55 2020 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="cifs-utils-quota" +VERSION="6.10" +CATEGORY="system-tools" +SHORT_DESC="CIFS quota tools" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils" +WANTED="cifs-utils" + +DEPENDS="python linux-cifs" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/smb2-quota $fs/usr/bin +} diff -r 2843032e6a9b -r 1974896886e3 cifs-utils/receipt --- a/cifs-utils/receipt Wed Jan 22 11:18:51 2020 +0100 +++ b/cifs-utils/receipt Wed Jan 22 11:48:55 2020 +0100 @@ -21,24 +21,21 @@ autoreconf -i && ./configure \ CC=gcc-83 \ - CC=g++-83 \ + CXX=g++-83 \ --prefix=/usr \ - --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install - -# not available -# cook_pick_manpages *.1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + mkdir -p $fs/usr/bin mkdir -p $fs/usr/sbin - cp -a $install/sbin $fs - cd $fs/usr/sbin - ln -s ../../sbin/mount.cifs . - ln -s ../../sbin/mount.cifs umount.cifs + cp -a $install/sbin $fs + cp -a $install/usr/bin/smbinfo $fs/usr + ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs + ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs }