wok view x265/receipt @ rev 24084
libjson-c-dev: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 13:06:31 2021 +0000 (2021-07-10) |
parents | cf73576ccb13 |
children | 535c806240cc |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src/build
23 cmake -DCMAKE_INSTALL_PREFIX=/usr ../source &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*so* $fs/usr/lib/
35 }