wok view x265/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 535c806240cc |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="x265"
4 VERSION="3.5"
5 CATEGORY="multimedia"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="Free library for encoding H265/MPEG-H HEVC video streams."
9 WEB_SITE="https://www.videolan.org/developers/x265.html"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="https://bitbucket.org/multicoreware/${PACKAGE}_git/downloads/$TARBALL"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="cmake nasm"
17 #HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src/build
30 cmake ../source \
31 -D CMAKE_INSTALL_PREFIX=/usr &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
41 }