wok-6.x view x264/receipt @ rev 22323
updated ympd (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 14 17:21:02 2019 +0100 (2019-11-14) |
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 }