wok-current view x264/receipt @ rev 18183

Up: slitaz-boot-scripts(403)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 06 02:09:32 2015 +0300 (2015-07-06)
parents 380ffe05937a
children eed68127093d
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"
13 #HOST_ARCH="i486 arm"
15 DEPENDS="glibc-base"
16 BUILD_DEPENDS="yasm"
18 # Rules to configure and make the package.
19 compile_rules() {
20 ./configure \
21 --enable-shared $CONFIGURE_ARGS &&
22 make && make \
23 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 }