wok-6.x annotate x264/receipt @ rev 13410

Add: check+
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Oct 01 01:39:13 2012 +0200 (2012-10-01)
parents 3d4ac7c5a10c
children 380ffe05937a
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"
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() {
domcox@12844 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 \
domcox@12844 24 includedir=/usr/include install
jozee@6831 25 }
domcox@12844 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
domcox@12844 32 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
jozee@6831 33 }