wok-next annotate x264/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 7d24131afd7d
children
rev   line source
al@19741 1 # SliTaz package receipt v2.
jozee@6831 2
jozee@6831 3 PACKAGE="x264"
al@21013 4 VERSION="20181013"
jozee@6831 5 CATEGORY="multimedia"
al@19741 6 SHORT_DESC="Free H.264/AVC encoder"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
jozee@6831 9 WEB_SITE="http://www.videolan.org/developers/x264.html"
jozee@6831 10
al@21013 11 TARBALL="x264-snapshot-$VERSION-2245-stable.tar.bz2"
al@19741 12 WGET_URL="http://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
al@19741 13
al@21013 14 BUILD_DEPENDS="nasm"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@15000 16
jozee@6831 17 compile_rules() {
pankso@16276 18 ./configure \
al@19741 19 --prefix=/usr \
al@19741 20 --enable-shared \
al@21013 21 &&
al@21013 22 make &&
al@21013 23 make install || return 1
al@21013 24
al@21013 25 cook_pick_docs doc/*.txt
jozee@6831 26 }
domcox@12844 27
al@21013 28 genpkg_rules() {
al@19741 29 case $PACKAGE in
al@21013 30 x264) copy @std;;
al@19741 31 *-dev) copy @dev;;
al@19741 32 esac
jozee@6831 33 }