wok-next annotate x265/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents 9278a60d6895
children 7d24131afd7d
rev   line source
al@19741 1 # SliTaz package receipt v2.
pascal@19138 2
pascal@19138 3 PACKAGE="x265"
al@19741 4 VERSION="2.4"
pascal@19138 5 CATEGORY="multimedia"
al@19741 6 SHORT_DESC="Free H.265/MPEG-H HEVC encoder"
pascal@19138 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19138 8 LICENSE="GPL2"
pascal@19138 9 WEB_SITE="http://www.videolan.org/developers/x265.html"
al@19741 10
pascal@19138 11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
pascal@19138 12 WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL"
pascal@19138 13
pascal@19138 14 BUILD_DEPENDS="cmake yasm"
al@19741 15 SPLIT="x265-dev"
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 &&
al@19741 22 make && make 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 {
al@19741 28 case $PACKAGE in
al@19741 29 x265) copy @std;;
al@19741 30 *-dev) copy @dev;;
al@19741 31 esac
pascal@19138 32 }