wok rev 755

Add: b43-fwcutter, cabextract, unshield, pure-ftpd, pure-ftpd-extras. fix DEPNDS in ndiswrapper
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 07 01:14:00 2008 +0200 (2008-05-07)
parents bec96f4407c9
children 9c508a04c78d
files b43-fwcutter/receipt cabextract/receipt ndiswrapper/receipt pure-ftpd-extras/receipt pure-ftpd/receipt pure-ftpd/stuff/pure-ftpd unshield/receipt
line diff
     1.1 --- a/b43-fwcutter/receipt	Tue May 06 21:38:43 2008 +0000
     1.2 +++ b/b43-fwcutter/receipt	Wed May 07 01:14:00 2008 +0200
     1.3 @@ -2,31 +2,25 @@
     1.4  
     1.5  PACKAGE="b43-fwcutter"
     1.6  VERSION="011"
     1.7 -CATEGORY="system-tools"
     1.8 -SHORT_DESC="Broadcom b43 firmware extractor."
     1.9 -MAINTAINER="pankso@slitaz.org"
    1.10 +CATEGORY="utilities"
    1.11 +SHORT_DESC="Broadcom 43xx Linux Driver."
    1.12 +MAINTAINER="Erjo <erjo@slitaz.org>"
    1.13 +DEPENDS=""
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://developer.berlios.de/project/showfiles.php?group_id=4547"
    1.16 +WEB_SITE="http://bu3sch.de/b43/fwcutter/"
    1.17  WGET_URL="http://bu3sch.de/b43/fwcutter/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -    cd $src
    1.23 -    make
    1.24 +	cd $src
    1.25 +	make
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/bin
    1.32 -	cp -a $src/b43-fwcutter $fs/usr/bin
    1.33 +	cp -a $src/$PACKAGE $fs/usr/bin
    1.34  }
    1.35  
    1.36 -# Ensure /lib/firmware exist.
    1.37 -post_install()
    1.38 -{
    1.39 -	local root
    1.40 -	root=$1
    1.41 -	mkdir -p $root/lib/firmware
    1.42 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cabextract/receipt	Wed May 07 01:14:00 2008 +0200
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="cabextract"
     2.7 +VERSION="1.2"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="Extracting Microsoft cabinet files"
    2.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    2.11 +DEPENDS=""
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://www.cabextract.org.uk/"
    2.14 +WGET_URL="http://www.cabextract.org.uk/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    2.22 +	make
    2.23 +	make DESTDIR=$PWD/_pkg install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr
    2.30 +	cp -a $_pkg/usr/bin $fs/usr
    2.31 +	strip -s $fs/usr/bin/*
    2.32 +}
    2.33 +
     3.1 --- a/ndiswrapper/receipt	Tue May 06 21:38:43 2008 +0000
     3.2 +++ b/ndiswrapper/receipt	Wed May 07 01:14:00 2008 +0200
     3.3 @@ -5,7 +5,7 @@
     3.4  CATEGORY="system-tools"
     3.5  SHORT_DESC="Add Windows network drivers support to Linux kernel."
     3.6  MAINTAINER="Erjo <erjo@slitaz.org>"
     3.7 -DEPENDS=""
     3.8 +DEPENDS="perl"
     3.9  #WANTED="linux"
    3.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.11  WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/pure-ftpd-extras/receipt	Wed May 07 01:14:00 2008 +0200
     4.3 @@ -0,0 +1,22 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="pure-ftpd-extras"
     4.7 +VERSION="1.0.21"
     4.8 +CATEGORY="networking"
     4.9 +SHORT_DESC="A secure FTP daemon extras files"
    4.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    4.11 +DEPENDS="perl python"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.13 +WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
    4.14 +WANTED="pure-ftpd"
    4.15 +
    4.16 +
    4.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 +genpkg_rules()
    4.19 +{
    4.20 +	mkdir -p $fs/etc/pure-ftpd $fs/usr/bin
    4.21 +	cp -a $src/configuration-file/pure-ftpd.conf $fs/etc/pure-ftpd
    4.22 +	cp -a $src/configuration-file/pure-config.pl $fs/usr/bin
    4.23 +	cp -a $src/configuration-file/pure-config.py $fs/usr/bin
    4.24 +}
    4.25 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/pure-ftpd/receipt	Wed May 07 01:14:00 2008 +0200
     5.3 @@ -0,0 +1,41 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="pure-ftpd"
     5.7 +VERSION="1.0.21"
     5.8 +CATEGORY="networking"
     5.9 +SHORT_DESC="A secure FTP daemon"
    5.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    5.11 +DEPENDS=""
    5.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.13 +WEB_SITE="http://www.pureftpd.org/project/pure-ftpd"
    5.14 +WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL"
    5.15 +
    5.16 +# Rules to configure and make the package.
    5.17 +compile_rules()
    5.18 +{
    5.19 +	cd $src
    5.20 +	./configure --prefix=/usr  $CONFIGURE_ARGS
    5.21 +	make
    5.22 +	make DESTDIR=$PWD/_pkg install
    5.23 +}
    5.24 +
    5.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.26 +genpkg_rules()
    5.27 +{
    5.28 +	mkdir -p $fs/usr $fs/etc/init.d
    5.29 +	cp -a $_pkg/usr/bin $fs/usr
    5.30 +	cp -a $_pkg/usr/sbin $fs/usr
    5.31 +	install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d
    5.32 +}
    5.33 +
    5.34 +post_install()
    5.35 +{
    5.36 +	echo ""
    5.37 +	echo -e "\nTo starts $PACKAGE server you can run :\n"
    5.38 +    echo "/etc/init.d/$PACKAGE start"
    5.39 +    echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
    5.40 +	echo ""
    5.41 +	echo "You may install pure-ftpd-extras package to get pure-config.pl "
    5.42 +	echo " pure-config.py facilities."
    5.43 +	
    5.44 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/pure-ftpd/stuff/pure-ftpd	Wed May 07 01:14:00 2008 +0200
     6.3 @@ -0,0 +1,62 @@
     6.4 +#!/bin/sh
     6.5 +# /etc/init.d/pure-ftpd : Start, stop and restart pure-FTPd daemon on SliTaz, at 
     6.6 +# boot time or with the command line.
     6.7 +#
     6.8 +# To start pure-FTPd server at boot time, just put pure-ftpd in the $RUN_DAEMONS
     6.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf
    6.10 +#
    6.11 +. /etc/init.d/rc.functions
    6.12 +. /etc/daemons.conf
    6.13 +
    6.14 +NAME=pure-ftpd
    6.15 +DESC="pure-FTPd Server Daemon"
    6.16 +DAEMON=/usr/sbin/$NAME
    6.17 +
    6.18 +PIDFILE=/var/run/$NAME.pid
    6.19 +
    6.20 +# Options:
    6.21 +# -4		IPV4 Only
    6.22 +# -H 		Don't resolve
    6.23 +# -A		Chroot Everyone
    6.24 +# -B 		Daemonize
    6.25 +OPTIONS="-4 -H -A -B"
    6.26 +
    6.27 +case "$1" in
    6.28 +  start)
    6.29 +     if [ -f $PIDFILE ] ; then
    6.30 +      echo "$NAME already running."
    6.31 +      exit 1
    6.32 +    fi
    6.33 +    echo -n "Starting $DESC: $NAME... "
    6.34 +    $DAEMON $OPTIONS
    6.35 +    status
    6.36 +    ;;
    6.37 +  stop)
    6.38 +    if [ ! -f $PIDFILE ] ; then
    6.39 +      echo "$NAME is not running."
    6.40 +      exit 1
    6.41 +    fi
    6.42 +    echo -n "Stopping $DESC: $NAME... "
    6.43 +    kill `cat $PIDFILE`
    6.44 +    status
    6.45 +    ;;
    6.46 +  restart)
    6.47 +    if [ ! -f $PIDFILE ] ; then
    6.48 +      echo "$NAME is not running."
    6.49 +      exit 1
    6.50 +    fi
    6.51 +    echo -n "Restarting $DESC: $NAME... "
    6.52 +    kill `cat $PIDFILE`
    6.53 +    sleep 2
    6.54 +    $DAEMON $OPTIONS
    6.55 +    status
    6.56 +    ;;
    6.57 +  *)
    6.58 +    echo ""
    6.59 +    echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]"
    6.60 +    echo ""
    6.61 +    exit 1
    6.62 +    ;;
    6.63 +esac
    6.64 +
    6.65 +exit 0
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/unshield/receipt	Wed May 07 01:14:00 2008 +0200
     7.3 @@ -0,0 +1,30 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="unshield"
     7.7 +VERSION="0.5"
     7.8 +CATEGORY="utilities"
     7.9 +SHORT_DESC=""
    7.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    7.11 +DEPENDS=""
    7.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.13 +WEB_SITE="http://kent.dl.sourceforge.net/sourceforge/synce/"
    7.14 +WGET_URL="http://kent.dl.sourceforge.net/sourceforge/synce/$TARBALL"
    7.15 +
    7.16 +# Rules to configure and make the package.
    7.17 +compile_rules()
    7.18 +{
    7.19 +	cd $src
    7.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    7.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    7.22 +	make
    7.23 +	make DESTDIR=$PWD/_pkg install
    7.24 +}
    7.25 +
    7.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.27 +genpkg_rules()
    7.28 +{
    7.29 +	mkdir -p $fs/usr/lib
    7.30 +	cp -a $_pkg/usr/bin $fs/usr
    7.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    7.32 +}
    7.33 +