wok-current view x265/receipt @ rev 19548

sylfilter: hide config.rpath trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 08 13:26:44 2016 +0100 (2016-12-08)
parents
children 64085bdff041
line source
1 # SliTaz package receipt.
3 PACKAGE="x265"
4 VERSION="1.9"
5 CATEGORY="multimedia"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="free library for encoding H265/MPEG-H HEVC video streams"
9 WEB_SITE="http://www.videolan.org/developers/x265.html"
10 TARBALL="${PACKAGE}_$VERSION.tar.gz"
11 WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="cmake yasm"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr ../source &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*so* $fs/usr/lib/
31 }