wok view x265/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (19 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 }