wok-next annotate x264/receipt @ rev 7482
modify .desktop of 3 file
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Fri Dec 03 00:24:35 2010 +0800 (2010-12-03) |
parents | 5494d3586f29 |
children | b4b1e049c2bc |
rev | line source |
---|---|
jozee@6831 | 1 # SliTaz package receipt. |
jozee@6831 | 2 |
jozee@6831 | 3 PACKAGE="x264" |
slaxemulator@6845 | 4 VERSION="20101019-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 } |