wok rev 15328

Add cifs-utils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 10:12:30 2013 +0000 (2013-09-28)
parents 5c5aba03d16d
children 06bbf4cf0c43
files cifs-utils-dev/receipt cifs-utils/receipt smbfs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cifs-utils-dev/receipt	Sat Sep 28 10:12:30 2013 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cifs-utils-dev"
     1.7 +VERSION="6.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="CIFS userland tools, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils"
    1.13 +WANTED="cifs-utils"
    1.14 +
    1.15 +DEPENDS="cifs-utils"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr
    1.21 +	cp -a $install/usr/include $fs/usr
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cifs-utils/receipt	Sat Sep 28 10:12:30 2013 +0000
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="cifs-utils"
     2.7 +VERSION="6.1"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="CIFS userland tools."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL3"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils"
    2.14 +WGET_URL="ftp://ftp.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
    2.15 +PROVIDE="smbfs"
    2.16 +
    2.17 +BUILD_DEPENDS=""
    2.18 +DEPENDS="linux-cifs"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	./configure --prefix=/usr \
    2.24 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.25 +	make &&
    2.26 +	make DESTDIR=$DESTDIR install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr/sbin
    2.33 +	cp -a $install/sbin $fs
    2.34 +	ln -s ../../sbin/mount.cifs .
    2.35 +	ln -s ../../sbin/mount.cifs umount.cifs
    2.36 +}
     3.1 --- a/smbfs/receipt	Sat Sep 28 09:30:43 2013 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,25 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="smbfs"
     3.7 -VERSION="3.5.8"
     3.8 -CATEGORY="network"
     3.9 -SHORT_DESC="Mount/umount tools for SMB/CIFS"
    3.10 -MAINTAINER="erjo@slitaz.org"
    3.11 -LICENSE="GPL3"
    3.12 -WEB_SITE="http://www.samba.org/"
    3.13 -WANTED="samba"
    3.14 -SUGGESTED="smbclient"
    3.15 -
    3.16 -DEPENDS="linux-cifs"
    3.17 -
    3.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.19 -genpkg_rules()
    3.20 -{
    3.21 -	while read file; do
    3.22 -		dir=${file%/*}
    3.23 -		[ -d $fs$dir ] || mkdir -p $fs$dir
    3.24 -		cp -a $_pkg$file $fs$dir
    3.25 -	done < $wanted_stuff/$PACKAGE.files-list
    3.26 -}
    3.27 -
    3.28 -