wok view x264/receipt @ rev 15143

Up cromfs (1.5.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:33:36 2013 +0000 (2013-08-15)
parents 833c3fa25a49
children 8139105f9285
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20120522-2245"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="free library for encoding H264/AVC video streams"
9 WEB_SITE="http://www.videolan.org/developers/x264.html"
10 SOURCE="$PACKAGE-snapshot"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="yasm"
17 # Rules to configure and make the package.
19 compile_rules() {
20 cd $src
21 ./configure --enable-shared &&
22 make &&
23 make DESTDIR=$DESTDIR \
24 bindir=/usr/bin \
25 libdir=/usr/lib \
26 includedir=/usr/include install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*so* $fs/usr/lib/
35 }