wok-4.x view x264/receipt @ rev 6921

fix vde2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 22 20:31:54 2010 +0200 (2010-10-22)
parents 5494d3586f29
children b4b1e049c2bc
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20101019-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 }