wok-next view x264/receipt @ rev 14600

branch sync
author Brenton Scott <admin@trixarian.net>
date Mon May 27 22:37:57 2013 +0200 (2013-05-27)
parents 3d4ac7c5a10c
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20120522-2245"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="free library for encoding H264/AVC video streams"
8 WEB_SITE="http://www.videolan.org/developers/x264.html"
9 DEPENDS="glibc-base"
10 BUILD_DEPENDS="yasm"
11 SOURCE="$PACKAGE-snapshot"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure --enable-shared &&
20 make &&
21 make DESTDIR=$PWD/_pkg \
22 bindir=/usr/bin \
23 libdir=/usr/lib \
24 includedir=/usr/include install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
33 }