wok-6.x view x264/receipt @ rev 23220

gaupol: python2 replaced by python3
author Hans-G?nter Theisgen
date Mon Mar 23 13:55:45 2020 +0100 (2020-03-23)
parents eed68127093d
children db191dc5aff6
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20191105-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="https://www.videolan.org/developers/x264.html"
11 SOURCE="$PACKAGE-snapshot"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="http://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
15 DEPENDS="glibc-base"
16 BUILD_DEPENDS="nasm"
18 #HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --enable-shared \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install \
28 DESTDIR=$DESTDIR \
29 bindir=/usr/bin \
30 libdir=/usr/lib \
31 includedir=/usr/include
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*so* $fs/usr/lib/
41 }