wok diff x264/receipt @ 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
children 6d7c1adfc98a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/x264/receipt	Tue Oct 19 21:21:35 2010 -0400
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="x264"
     1.7 +VERSION="20100410-2245"
     1.8 +CATEGORY="multimedia"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="free library for encoding H264/AVC video streams"
    1.11 +WEB_SITE="http://www.videolan.org/developers/x264.html"
    1.12 +DEPENDS="glibc-base"
    1.13 +BUILD_DEPENDS="yasm"
    1.14 +SOURCE="$PACKAGE-snapshot"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 +WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +    cd $src 
    1.22 +    ./configure --enable-shared &&
    1.23 +    make &&
    1.24 +    make DESTDIR=$PWD/_pkg \
    1.25 +         bindir=/usr/bin \
    1.26 +         libdir=/usr/lib \
    1.27 +         includedir=/usr/include install 
    1.28 +}
    1.29 +	
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/	
    1.36 +}