wok-next view x264/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | 7d24131afd7d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="x264"
4 VERSION="20181013"
5 CATEGORY="multimedia"
6 SHORT_DESC="Free H.264/AVC encoder"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.videolan.org/developers/x264.html"
11 TARBALL="x264-snapshot-$VERSION-2245-stable.tar.bz2"
12 WGET_URL="http://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
14 BUILD_DEPENDS="nasm"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --enable-shared \
21 &&
22 make &&
23 make install || return 1
25 cook_pick_docs doc/*.txt
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 x264) copy @std;;
31 *-dev) copy @dev;;
32 esac
33 }