wok-6.x annotate x265/receipt @ rev 23225
compile mutt again
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 23 16:27:23 2020 +0100 (2020-03-23) |
parents | cf73576ccb13 |
children | 535c806240cc |
rev | line source |
---|---|
pascal@19138 | 1 # SliTaz package receipt. |
pascal@19138 | 2 |
pascal@19138 | 3 PACKAGE="x265" |
Hans-G?nter@22145 | 4 VERSION="3.2" |
pascal@19138 | 5 CATEGORY="multimedia" |
pascal@19138 | 6 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19138 | 7 LICENSE="GPL2" |
Hans-G?nter@22145 | 8 SHORT_DESC="Free library for encoding H265/MPEG-H HEVC video streams." |
Hans-G?nter@22145 | 9 WEB_SITE="https://www.videolan.org/developers/x265.html" |
Hans-G?nter@22145 | 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 DEPENDS="glibc-base" |
Hans-G?nter@22145 | 15 BUILD_DEPENDS="cmake nasm" |
Hans-G?nter@22145 | 16 |
Hans-G?nter@22145 | 17 #HOST_ARCH="i486 arm" |
pascal@19138 | 18 |
pascal@19138 | 19 # Rules to configure and make the package. |
pascal@19138 | 20 compile_rules() |
pascal@19138 | 21 { |
pascal@19138 | 22 cd $src/build |
pascal@19138 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr ../source && |
Hans-G?nter@22145 | 24 make && |
Hans-G?nter@22145 | 25 make DESTDIR=$DESTDIR install |
pascal@19138 | 26 } |
pascal@19138 | 27 |
pascal@19138 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19138 | 29 genpkg_rules() |
pascal@19138 | 30 { |
pascal@19138 | 31 mkdir -p $fs/usr/lib |
Hans-G?nter@22145 | 32 |
Hans-G?nter@22145 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22145 | 34 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
pascal@19138 | 35 } |