wok-6.x rev 19138
Add x265
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 16:28:27 2016 +0200 (2016-05-18) |
parents | eed68127093d |
children | 05618db865a7 |
files | x265-dev/receipt x265/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/x265-dev/receipt Wed May 18 16:28:27 2016 +0200 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="x265-dev" 1.7 +VERSION="1.9" 1.8 +CATEGORY="development" 1.9 +MAINTAINER="pascal.bellard@slitaz.org" 1.10 +LICENSE="GPL2" 1.11 +SHORT_DESC="x265 devel files" 1.12 +WEB_SITE="http://www.videolan.org/developers/x265.html" 1.13 +WANTED="x265" 1.14 + 1.15 +DEPENDS="x265 pkg-config" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $install/usr/lib/*a $fs/usr/lib 1.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $install/usr/include $fs/usr 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/x265/receipt Wed May 18 16:28:27 2016 +0200 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="x265" 2.7 +VERSION="1.9" 2.8 +CATEGORY="multimedia" 2.9 +MAINTAINER="pascal.bellard@slitaz.org" 2.10 +LICENSE="GPL2" 2.11 +SHORT_DESC="free library for encoding H265/MPEG-H HEVC video streams" 2.12 +WEB_SITE="http://www.videolan.org/developers/x265.html" 2.13 +TARBALL="${PACKAGE}_$VERSION.tar.gz" 2.14 +WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL" 2.15 +#HOST_ARCH="i486 arm" 2.16 + 2.17 +DEPENDS="glibc-base" 2.18 +BUILD_DEPENDS="cmake yasm" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + cd $src/build 2.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr ../source && 2.25 + make && make DESTDIR=$DESTDIR install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + cp -a $install/usr/bin $fs/usr 2.33 + cp -a $install/usr/lib/*so* $fs/usr/lib/ 2.34 +}