wok-6.x annotate x265/receipt @ rev 25557
Up bzip3 (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 23 16:03:47 2023 +0000 (19 months ago) |
parents | 535c806240cc |
children |
rev | line source |
---|---|
pascal@19138 | 1 # SliTaz package receipt. |
pascal@19138 | 2 |
pascal@19138 | 3 PACKAGE="x265" |
Hans-G?nter@25424 | 4 VERSION="3.5" |
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" |
Hans-G?nter@25424 | 12 WGET_URL="https://bitbucket.org/multicoreware/${PACKAGE}_git/downloads/$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@24465 | 19 # What is the latest version available today? |
pascal@24465 | 20 current_version() |
pascal@24465 | 21 { |
pascal@24465 | 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24465 | 23 sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24465 | 24 } |
pascal@24465 | 25 |
pascal@19138 | 26 # Rules to configure and make the package. |
pascal@19138 | 27 compile_rules() |
pascal@19138 | 28 { |
pascal@19138 | 29 cd $src/build |
Hans-G?nter@25424 | 30 cmake ../source \ |
Hans-G?nter@25424 | 31 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@22145 | 32 make && |
Hans-G?nter@25424 | 33 make install DESTDIR=$DESTDIR |
pascal@19138 | 34 } |
pascal@19138 | 35 |
pascal@19138 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19138 | 37 genpkg_rules() |
pascal@19138 | 38 { |
Hans-G?nter@25424 | 39 cook_copy_folders bin |
Hans-G?nter@25424 | 40 cook_copy_files *.so* |
pascal@19138 | 41 } |