wok view x264/receipt @ rev 23945
Up slitaz-base-files (342)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 18:47:32 2020 +0000 (2020-09-18) |
parents | 8feb5dce3d54 |
children | 535c806240cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="x264"
4 VERSION="20191217-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 }