wok-current rev 11215

Add from wok-undigest: tslib tslib-dev util-linux-ng-flock swfdec swfdec-dev perl-net-pcap net-tools mspdebug
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 17:36:16 2011 +0100 (2011-11-03)
parents 2f79d601d5bc
children 7df05207d343
files mspdebug/receipt net-tools/receipt perl-net-pcap/receipt swfdec-dev/receipt swfdec/receipt tslib-dev/receipt tslib/receipt util-linux-ng-flock/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mspdebug/receipt	Thu Nov 03 17:36:16 2011 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mspdebug"
     1.7 +VERSION="0.17"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="free debugger for use with MSP430 MCUs."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +DEPENDS="libusb-compat"
    1.16 +BUILD_DEPENDS="libusb-compat-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	sed -i 's|/usr/local|/usr|' Makefile
    1.23 +	make WITHOUT_READLINE=1 &&
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	cp -a $_pkg/* $fs
    1.31 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/net-tools/receipt	Thu Nov 03 17:36:16 2011 +0100
     2.3 @@ -0,0 +1,38 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="net-tools"
     2.7 +VERSION="1.60"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Network toolbox."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12 +WEB_SITE="http://www.tazenda.demon.co.uk/phil/net-tools"
    2.13 +WGET_URL="$WEB_SITE/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	cd $src
    2.19 +	mkdir _pkg
    2.20 +	enabled="HAVE_AFUNIX HAVE_AFINET HAVE_HWETHER HAVE_HWPPP \
    2.21 +		 HAVE_HWTUNNEL HAVE_FW_MASQUERADE HAVE_IP_TOOLS HAVE_MII"
    2.22 +	sed '/HAVE_/!d;s/.*\(HAVE.*\)../\1/' < config.in | while read name; do
    2.23 +		val=0
    2.24 +		case " $enabled " in
    2.25 +		*\ $name\ *) val=1 ;;
    2.26 +		esac
    2.27 +		echo "#define $name $val"
    2.28 +		echo "$name=$val" 1>&2
    2.29 +	done > config.h 2> config.make
    2.30 +	sed -i 's/default:/&;/' hostname.c lib/inet_sr.c
    2.31 +	sed -i '/"usage/,/10baseT/s/.*/&\\n\\/' mii-tool.c
    2.32 +	make &&
    2.33 +	make BASEDIR=$PWD/_pkg install
    2.34 +}
    2.35 +
    2.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.37 +genpkg_rules()
    2.38 +{
    2.39 +	cp -a $_pkg/bin $fs
    2.40 +	cp -a $_pkg/sbin $fs
    2.41 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/perl-net-pcap/receipt	Thu Nov 03 17:36:16 2011 +0100
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="perl-net-pcap"
     3.7 +VERSION="0.16"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Net::Pcap module is a Perl extension."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +DEPENDS="perl libpcap"
    3.12 +BUILD_DEPENDS="perl libpcap libpcap-dev"
    3.13 +SOURCE="Net-Pcap"
    3.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    3.15 +WEB_SITE="http://cpan.org/"
    3.16 +WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	cd $src
    3.22 +	perl Makefile.PL
    3.23 +	make
    3.24 +	make DESTDIR=$PWD/_pkg install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	mkdir -p $fs/usr
    3.31 +	cp -a $_pkg/usr/lib $fs/usr
    3.32 +}
    3.33 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/swfdec-dev/receipt	Thu Nov 03 17:36:16 2011 +0100
     4.3 @@ -0,0 +1,19 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="swfdec-dev"
     4.7 +VERSION="0.9.2"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Macromedia Flash decoding library"
    4.10 +MAINTAINER="devl547@gmail.com"
    4.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.12 +WEB_SITE="http://swfdec.freedesktop.org/"
    4.13 +WANTED="swfdec"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +genpkg_rules()
    4.17 +{
    4.18 +	mkdir -p $fs/usr/
    4.19 +	cp -a $_pkg/usr/include $fs/usr/lib
    4.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    4.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    4.22 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/swfdec/receipt	Thu Nov 03 17:36:16 2011 +0100
     5.3 @@ -0,0 +1,31 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="swfdec"
     5.7 +VERSION="0.9.2"
     5.8 +CATEGORY="multimedia"
     5.9 +SHORT_DESC="Macromedia Flash decoding library"
    5.10 +MAINTAINER="devl547@gmail.com"
    5.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.12 +WEB_SITE="http://swfdec.freedesktop.org/"
    5.13 +WGET_URL="http://swfdec.freedesktop.org/download/swfdec/0.9/$TARBALL"
    5.14 +BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \
    5.15 +cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev"
    5.16 +DEPENDS="glib liboil pango gtk+ libsoup cairo alsa-lib gstreamer gst-plugins-base"
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	cd $src
    5.22 +	./configure --prefix=/usr --infodir=/usr/share/info \
    5.23 +	--mandir=/usr/share/man $CONFIGURE_ARGS \
    5.24 +	--enable-gtk --with-audio="alsa" &&
    5.25 +	make &&
    5.26 +	make DESTDIR=$PWD/_pkg install
    5.27 +}
    5.28 +
    5.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.30 +genpkg_rules()
    5.31 +{
    5.32 +	mkdir -p $fs/usr/lib
    5.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    5.34 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/tslib-dev/receipt	Thu Nov 03 17:36:16 2011 +0100
     6.3 @@ -0,0 +1,19 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="tslib-dev"
     6.7 +VERSION="1.0"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="Abstraction layer for touchscreen panel events, development files."
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +WEB_SITE="http://tslib.berlios.de/"
    6.12 +WANTED="tslib"
    6.13 +
    6.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.15 +genpkg_rules()
    6.16 +{
    6.17 +	mkdir -p $fs/usr/lib/ts
    6.18 +	cp -a $_pkg/usr/lib/ts/*a $fs/usr/lib/ts
    6.19 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    6.20 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    6.21 +	cp -a $_pkg/usr/include $fs/usr
    6.22 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/tslib/receipt	Thu Nov 03 17:36:16 2011 +0100
     7.3 @@ -0,0 +1,33 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="tslib"
     7.7 +VERSION="1.0"
     7.8 +CATEGORY="development"
     7.9 +SHORT_DESC="Abstraction layer for touchscreen panel events."
    7.10 +MAINTAINER="pascal.bellard@slitaz.org"
    7.11 +WEB_SITE="http://tslib.berlios.de/"
    7.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    7.13 +WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
    7.14 +
    7.15 +# Rules to configure and make the package.
    7.16 +compile_rules()
    7.17 +{
    7.18 +	cd $src
    7.19 +	./autogen.sh
    7.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    7.21 +		--sysconfdir=/etc \
    7.22 +		--mandir=/usr/share/man \
    7.23 +		$CONFIGURE_ARGS &&
    7.24 +	make &&
    7.25 +	make DESTDIR=$DESTDIR install
    7.26 +}
    7.27 +
    7.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.29 +genpkg_rules()
    7.30 +{
    7.31 +	mkdir -p $fs/usr/lib/ts
    7.32 +	cp -a $_pkg/usr/lib/ts/*.so* $fs/usr/lib/ts
    7.33 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    7.34 +	cp -a $_pkg/usr/bin $fs/usr
    7.35 +	cp -a $_pkg/etc $fs
    7.36 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/util-linux-ng-flock/receipt	Thu Nov 03 17:36:16 2011 +0100
     8.3 @@ -0,0 +1,28 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="util-linux-ng-flock"
     8.7 +VERSION="2.19.1"
     8.8 +CATEGORY="base-system"
     8.9 +SHORT_DESC="The flock utility from Util linux NG."
    8.10 +MAINTAINER="liupeng <hipeng@about.me>"
    8.11 +DEPENDS="glibc-base"
    8.12 +WANTED="util-linux-ng"
    8.13 +WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
    8.14 +
    8.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.16 +genpkg_rules()
    8.17 +{
    8.18 +	mkdir -p $fs/usr/bin
    8.19 +	cp -a $_pkg/usr/bin/flock $fs/usr/bin
    8.20 +}
    8.21 +
    8.22 +# Overlap busybox
    8.23 +pre_install()
    8.24 +{
    8.25 +	rm -f $1/usr/bin/blkid
    8.26 +}
    8.27 +
    8.28 +post_remove()
    8.29 +{
    8.30 +	ln -s /bin/busybox /usr/bin/blkid
    8.31 +}