wok-current rev 6831

Add x264: mv from undigest
author Rohit Joshi <jozee@slitaz.org>
date Tue Oct 19 21:21:35 2010 -0400 (2010-10-19)
parents 855ea01b6846
children 4130b89679fd 8dd0424ba135
files x264-dev/receipt x264/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/x264-dev/receipt	Tue Oct 19 21:21:35 2010 -0400
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="x264-dev"
     1.7 +VERSION="20100410-2245"
     1.8 +CATEGORY="development"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="x264 devel files"
    1.11 +WEB_SITE="http://www.videolan.org/developers/x264.html"
    1.12 +WANTED="x264"
    1.13 +SOURCE="$WANTED-snapshot"
    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
    1.19 +	_pkg="$WOK/$WANTED/$SOURCE-$VERSION/_pkg"
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/x264/receipt	Tue Oct 19 21:21:35 2010 -0400
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="x264"
     2.7 +VERSION="20100410-2245"
     2.8 +CATEGORY="multimedia"
     2.9 +MAINTAINER="jozee@slitaz.org"
    2.10 +SHORT_DESC="free library for encoding H264/AVC video streams"
    2.11 +WEB_SITE="http://www.videolan.org/developers/x264.html"
    2.12 +DEPENDS="glibc-base"
    2.13 +BUILD_DEPENDS="yasm"
    2.14 +SOURCE="$PACKAGE-snapshot"
    2.15 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.16 +WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +
    2.20 +compile_rules() {
    2.21 +    cd $src 
    2.22 +    ./configure --enable-shared &&
    2.23 +    make &&
    2.24 +    make DESTDIR=$PWD/_pkg \
    2.25 +         bindir=/usr/bin \
    2.26 +         libdir=/usr/lib \
    2.27 +         includedir=/usr/include install 
    2.28 +}
    2.29 +	
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr/lib
    2.34 +	cp -a $_pkg/usr/bin $fs/usr
    2.35 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/	
    2.36 +}