wok-current diff x265/receipt @ rev 19651
Up cookutils (869)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 23 11:18:30 2017 +0200 (2017-01-23) |
parents | |
children | 64085bdff041 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/x265/receipt Mon Jan 23 11:18:30 2017 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="x265" 1.7 +VERSION="1.9" 1.8 +CATEGORY="multimedia" 1.9 +MAINTAINER="pascal.bellard@slitaz.org" 1.10 +LICENSE="GPL2" 1.11 +SHORT_DESC="free library for encoding H265/MPEG-H HEVC video streams" 1.12 +WEB_SITE="http://www.videolan.org/developers/x265.html" 1.13 +TARBALL="${PACKAGE}_$VERSION.tar.gz" 1.14 +WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL" 1.15 +#HOST_ARCH="i486 arm" 1.16 + 1.17 +DEPENDS="glibc-base" 1.18 +BUILD_DEPENDS="cmake yasm" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src/build 1.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr ../source && 1.25 + make && make DESTDIR=$DESTDIR install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib 1.32 + cp -a $install/usr/bin $fs/usr 1.33 + cp -a $install/usr/lib/*so* $fs/usr/lib/ 1.34 +}