wok-next annotate x264/receipt @ rev 15052
UNDO ibus-dev: no /usr/include ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 19:07:07 2013 +0000 (2013-08-12) |
parents | 833c3fa25a49 |
children | 8139105f9285 |
rev | line source |
---|---|
jozee@6831 | 1 # SliTaz package receipt. |
jozee@6831 | 2 |
jozee@6831 | 3 PACKAGE="x264" |
domcox@12844 | 4 VERSION="20120522-2245" |
jozee@6831 | 5 CATEGORY="multimedia" |
jozee@6831 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 7 LICENSE="GPL2" |
jozee@6831 | 8 SHORT_DESC="free library for encoding H264/AVC video streams" |
jozee@6831 | 9 WEB_SITE="http://www.videolan.org/developers/x264.html" |
jozee@6831 | 10 SOURCE="$PACKAGE-snapshot" |
jozee@6831 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@6831 | 12 WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL" |
jozee@6831 | 13 |
pascal@15000 | 14 DEPENDS="glibc-base" |
pascal@15000 | 15 BUILD_DEPENDS="yasm" |
pascal@15000 | 16 |
jozee@6831 | 17 # Rules to configure and make the package. |
jozee@6831 | 18 |
jozee@6831 | 19 compile_rules() { |
domcox@12844 | 20 cd $src |
jozee@6831 | 21 ./configure --enable-shared && |
jozee@6831 | 22 make && |
pascal@15000 | 23 make DESTDIR=$DESTDIR \ |
jozee@6831 | 24 bindir=/usr/bin \ |
jozee@6831 | 25 libdir=/usr/lib \ |
domcox@12844 | 26 includedir=/usr/include install |
jozee@6831 | 27 } |
domcox@12844 | 28 |
jozee@6831 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6831 | 30 genpkg_rules() |
jozee@6831 | 31 { |
jozee@6831 | 32 mkdir -p $fs/usr/lib |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 34 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
jozee@6831 | 35 } |