wok-next annotate x265/receipt @ rev 20377

h8300-gdb, h8300-gcc: use gcc49
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 26 11:54:13 2017 +0100 (2017-11-26)
parents cf73576ccb13
children c4e53a39395a
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 #HOST_ARCH="i486 arm"
al@19741 11
pascal@19138 12 TARBALL="${PACKAGE}_$VERSION.tar.gz"
pascal@19138 13 WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL"
pascal@19138 14
pascal@19138 15 BUILD_DEPENDS="cmake yasm"
al@19741 16 SPLIT="x265-dev"
pascal@19138 17
pascal@19138 18 # Rules to configure and make the package.
pascal@19138 19 compile_rules()
pascal@19138 20 {
pascal@19138 21 cd $src/build
pascal@19138 22 cmake -DCMAKE_INSTALL_PREFIX=/usr ../source &&
al@19741 23 make && make install
pascal@19138 24 }
pascal@19138 25
pascal@19138 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19138 27 genpkg_rules()
pascal@19138 28 {
al@19741 29 case $PACKAGE in
al@19741 30 x265) copy @std;;
al@19741 31 *-dev) copy @dev;;
al@19741 32 esac
pascal@19138 33 }