wok rev 7437

merge
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 29 05:10:02 2010 +0000 (2010-11-29)
parents f921c138b742 a36f0026ad7a
children 0e2e3ac6caf1
files python-pymedia/receipt pyvnc2swf/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linux-iscsi/receipt	Mon Nov 29 05:10:02 2010 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="linux-iscsi"
     1.7 +VERSION="2.6.36"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="The Linux kernel iscsi modules."
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +DEPENDS="linux"
    1.12 +WANTED="linux"
    1.13 +WEB_SITE="http://www.kernel.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +    local path
    1.19 +    path=lib/modules/$VERSION-slitaz/kernel
    1.20 +    mkdir -p $fs/$path
    1.21 +    export src
    1.22 +    export _pkg
    1.23 +    $src/slitaz/list_modules.sh drivers/scsi/iscsi_tcp.ko.gz \
    1.24 +		drivers/scsi/scsi_transport_iscsi.ko.gz | while read module; do
    1.25 +    	dir=$path/$(dirname $module)
    1.26 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.27 +        cp -a $_pkg/$path/$module $fs/$dir
    1.28 +    done
    1.29 +}
    1.30 +
    1.31 +# Post install/remove commands for Tazpkg.
    1.32 +post_install()
    1.33 +{
    1.34 +	chroot "$1/" depmod -a $VERSION-slitaz
    1.35 +}
    1.36 +
    1.37 +post_remove()
    1.38 +{
    1.39 +	depmod -a $VERSION-slitaz
    1.40 +}
    1.41 +
     2.1 --- a/open-iscsi/receipt	Mon Nov 29 05:08:22 2010 +0000
     2.2 +++ b/open-iscsi/receipt	Mon Nov 29 05:10:02 2010 +0000
     2.3 @@ -8,16 +8,15 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://www.open-iscsi.org/"
     2.6  WGET_URL="${WEB_SITE}bits/$TARBALL"
     2.7 +DEPENDS="linux-iscsi"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()
    2.11  {
    2.12  	cd $src
    2.13 -	if [ ! -d $WOK/linux/taz ]; then
    2.14 -		tazwok cook linux
    2.15 -	fi
    2.16 -	make KSRC=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/)
    2.17 -	make KSRC=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) DESTDIR=$PWD/_pkg install
    2.18 +	sed -i 's/ install_kernel / /' Makefile
    2.19 +	make user
    2.20 +	make DESTDIR=$PWD/_pkg install
    2.21  
    2.22  }
    2.23  
     3.1 --- a/python-pymedia/receipt	Mon Nov 29 05:08:22 2010 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,28 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="python-pymedia"
     3.7 -SOURCE="pymedia"
     3.8 -VERSION="1.3.7.3"
     3.9 -CATEGORY="development"
    3.10 -SHORT_DESC="Wav, mp3, ogg, avi, divx, dvd, cdda etc files manipulations."
    3.11 -MAINTAINER="pascal.bellard@slitaz.org"
    3.12 -TARBALL="$SOURCE-$VERSION.tar.gz"
    3.13 -WEB_SITE="http://pymedia.org/"
    3.14 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    3.15 -DEPENDS="python libvorbis libogg faad2 lame alsa-lib"
    3.16 -BUILD_DEPENDS="python python-dev libvorbis libvorbis-dev libogg libogg-dev"
    3.17 -
    3.18 -# Rules to configure and make the package.
    3.19 -compile_rules()
    3.20 -{
    3.21 -	cd $src
    3.22 -	echo | python setup.py build &&
    3.23 -	echo | python setup.py install --root=$PWD/_pkg
    3.24 -}
    3.25 -
    3.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 -genpkg_rules()
    3.28 -{
    3.29 -	mkdir -p $fs/usr
    3.30 -	cp -a $_pkg/usr/lib $fs/usr
    3.31 -}
     4.1 --- a/pyvnc2swf/receipt	Mon Nov 29 05:08:22 2010 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,26 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="pyvnc2swf"
     4.7 -VERSION="0.9.5"
     4.8 -CATEGORY="network"
     4.9 -SHORT_DESC="VNC recorder"
    4.10 -MAINTAINER="pascal.bellard@slitaz.org"
    4.11 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.12 -WEB_SITE="http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html"
    4.13 -WGET_URL="http://www.unixuser.org/~euske/vnc2swf/$TARBALL"
    4.14 -DEPENDS="python tk python-pygame"
    4.15 -SUGGESTED="python-pymedia"
    4.16 -
    4.17 -# Rules to configure and make the package.
    4.18 -compile_rules()
    4.19 -{
    4.20 -	cd $src
    4.21 -	make
    4.22 -}
    4.23 -
    4.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.25 -genpkg_rules()
    4.26 -{
    4.27 -	mkdir -p $fs/usr/share/$PACKAGE
    4.28 -	cp -a $src/$PACKAGE/* $fs/usr/share/$PACKAGE
    4.29 -}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/vnc2flv/receipt	Mon Nov 29 05:10:02 2010 +0000
     5.3 @@ -0,0 +1,26 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="vnc2flv"
     5.7 +VERSION="20100207"
     5.8 +CATEGORY="network"
     5.9 +SHORT_DESC="VNC recorder"
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.12 +WEB_SITE="http://www.unixuser.org/~euske/python/vnc2flv"
    5.13 +WGET_URL="http://pypi.python;org/packages/sources/v/vnc2flv/$TARBALL"
    5.14 +DEPENDS="python"
    5.15 +SUGGESTED="x11vnc"
    5.16 +
    5.17 +# Rules to configure and make the package.
    5.18 +compile_rules()
    5.19 +{
    5.20 +	cd $src
    5.21 +	make
    5.22 +}
    5.23 +
    5.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.25 +genpkg_rules()
    5.26 +{
    5.27 +	mkdir -p $fs/usr/share/$PACKAGE
    5.28 +	cp -a $src/$PACKAGE/* $fs/usr/share/$PACKAGE
    5.29 +}