wok-next view x264/receipt @ rev 19595
Up linux (4.9.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 21 17:27:31 2017 +0200 (2017-01-21) |
parents | 8139105f9285 |
children | 9278a60d6895 |
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20160517-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="http://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 }