wok view x265/receipt @ rev 25281

updated rinetd again (0.62 -> 0.73)
author Hans-G?nter Theisgen
date Mon Jul 18 15:22:44 2022 +0100 (2022-07-18)
parents 64085bdff041
children 18342dfd2c1b
line source
1 # SliTaz package receipt.
3 PACKAGE="x265"
4 VERSION="3.2"
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="http://ftp.videolan.org/pub/videolan/x265/$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 -DCMAKE_INSTALL_PREFIX=/usr ../source &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*so* $fs/usr/lib/
42 }