wok-next view x265/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 8b193d73523f |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="x265"
4 VERSION="2.9"
5 CATEGORY="multimedia"
6 SHORT_DESC="Free H.265/MPEG-H HEVC encoder"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.videolan.org/developers/x265.html"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL"
14 BUILD_DEPENDS="cmake nasm"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 # Fix build for i486 arch:
19 # -- CMAKE_SYSTEM_PROCESSOR value `i486` is unknown
20 # -- Please add this value near $src/source/CMakeLists.txt:78
21 sed -i 's|i386 i686|i386 i486 i686|' $src/source/CMakeLists.txt
23 cd $src/build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 ../source &&
27 make &&
28 make install || return 1
30 cd $src
31 cook_pick_docs readme.rst doc/reST/*.rst
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 x265) copy @std;;
37 *-dev) copy @dev;;
38 esac
39 }