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

zfs-fuse: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 14:55:40 2019 +0200 (2019-04-06)
parents 8139105f9285
children 8feb5dce3d54
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 }