wok view x264/receipt @ rev 24170

updated otf-gfs
author Hans-G?nter Theisgen
date Wed Dec 29 07:55:54 2021 +0100 (2021-12-29)
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 }