wok-6.x annotate x264/receipt @ rev 10821
Add xmlrpc-c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 13:10:36 2011 +0200 (2011-06-06) |
parents | 6d7c1adfc98a |
children | 3d4ac7c5a10c |
rev | line source |
---|---|
jozee@6831 | 1 # SliTaz package receipt. |
jozee@6831 | 2 |
jozee@6831 | 3 PACKAGE="x264" |
slaxemulator@7990 | 4 VERSION="20110115-2245" |
jozee@6831 | 5 CATEGORY="multimedia" |
jozee@6831 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@6831 | 7 SHORT_DESC="free library for encoding H264/AVC video streams" |
jozee@6831 | 8 WEB_SITE="http://www.videolan.org/developers/x264.html" |
jozee@6831 | 9 DEPENDS="glibc-base" |
jozee@6831 | 10 BUILD_DEPENDS="yasm" |
jozee@6831 | 11 SOURCE="$PACKAGE-snapshot" |
jozee@6831 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@6831 | 13 WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL" |
jozee@6831 | 14 |
jozee@6831 | 15 # Rules to configure and make the package. |
jozee@6831 | 16 |
jozee@6831 | 17 compile_rules() { |
jozee@6831 | 18 cd $src |
jozee@6831 | 19 ./configure --enable-shared && |
jozee@6831 | 20 make && |
jozee@6831 | 21 make DESTDIR=$PWD/_pkg \ |
jozee@6831 | 22 bindir=/usr/bin \ |
jozee@6831 | 23 libdir=/usr/lib \ |
jozee@6831 | 24 includedir=/usr/include install |
jozee@6831 | 25 } |
jozee@6831 | 26 |
jozee@6831 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6831 | 28 genpkg_rules() |
jozee@6831 | 29 { |
jozee@6831 | 30 mkdir -p $fs/usr/lib |
jozee@6831 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@6831 | 32 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@6831 | 33 } |