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