wok-current view x264/receipt @ rev 11428

Add: snort-mysql
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Dec 15 10:43:50 2011 +0100 (2011-12-15)
parents b4b1e049c2bc
children 833c3fa25a49
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20111111-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 }