wok annotate x264/receipt @ rev 11706
Up: tazweb (1.4.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 19 12:14:00 2012 +0100 (2012-02-19) |
parents | b4b1e049c2bc |
children | 833c3fa25a49 |
rev | line source |
---|---|
jozee@6831 | 1 # SliTaz package receipt. |
jozee@6831 | 2 |
jozee@6831 | 3 PACKAGE="x264" |
devl547@11302 | 4 VERSION="20111111-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 } |