wok view x264/receipt @ rev 11209
Move to wok: seed-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 11:23:40 2011 +0100 (2011-11-03) |
parents | 6d7c1adfc98a |
children | 3d4ac7c5a10c |
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20110115-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 }