wok view x264/receipt @ rev 14169

Add libnfc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 08 12:16:44 2013 +0100 (2013-03-08)
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 }