wok rev 33

Add : xine (libs + ui)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:06:22 2007 +0100 (2007-12-18)
parents a7cb804c8e95
children 96142343fd1b
files xine-lib-dev/receipt xine-lib/receipt xine-ui/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xine-lib-dev/receipt	Tue Dec 18 14:06:22 2007 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xine-lib-dev"
     1.7 +VERSION="1.1.8"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="Xine video library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="xorg"
    1.12 +WANTED="xine-lib"
    1.13 +WEB_SITE="http://www.xinehq.de/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.19 +	cp -a $_pkg/usr/bin $fs/usr
    1.20 +	chmod 755 $fs/usr/bin/*
    1.21 +	cp -a $_pkg/usr/include $fs/usr
    1.22 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.23 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.24 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.25 +	
    1.26 +	# Fonts and French locale.
    1.27 +	cp -a $_pkg/usr/share/xine $fs/usr/share
    1.28 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.29 +}
    1.30 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xine-lib/receipt	Tue Dec 18 14:06:22 2007 +0100
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xine-lib"
     2.7 +VERSION="1.1.8"
     2.8 +CATEGORY="extra"
     2.9 +SHORT_DESC="Xine video library."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="xorg"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="http://www.xinehq.de/"
    2.14 +WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$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/lib $fs/usr/share/locale
    2.30 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.31 +	cp -a $_pkg/usr/lib/xine $fs/usr/lib
    2.32 +	
    2.33 +	strip --strip-unneeded $fs/usr/lib/* 2>/dev/null
    2.34 +	strip --strip-unneeded $fs/usr/lib/xine/plugins/$VERSION/*.so
    2.35 +	strip --strip-unneeded $fs/usr/lib/xine/plugins/$VERSION/post/*.so
    2.36 +	strip --strip-unneeded $fs/usr/lib/xine/plugins/$VERSION/vidix/*.so
    2.37 +	
    2.38 +	# Fonts and French locale.
    2.39 +	cp -a $_pkg/usr/share/xine $fs/usr/share
    2.40 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    2.41 +}
    2.42 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/xine-ui/receipt	Tue Dec 18 14:06:22 2007 +0100
     3.3 @@ -0,0 +1,33 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="xine-ui"
     3.7 +VERSION="0.99.5"
     3.8 +CATEGORY="extra"
     3.9 +SHORT_DESC="Xine media player user interface."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +DEPENDS="xine-lib libvorbis xorg-libXtst"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://www.xinehq.de/"
    3.14 +WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
    3.15 +
    3.16 +# Rules to configure and make the package.
    3.17 +compile_rules()
    3.18 +{
    3.19 +	cd $src
    3.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    3.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    3.22 +	make
    3.23 +	make DESTDIR=$PWD/_pkg install
    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 $fs/usr/share/locale
    3.30 +	cp -a $_pkg/usr/bin $fs/usr
    3.31 +	strip -s $fs/usr/bin/* 2>/dev/null
    3.32 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    3.33 +	cp -a $_pkg/usr/share/xine $fs/usr/share
    3.34 +	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    3.35 +}
    3.36 +