contrib/mkvtoolnix/Pkgfile

36 lines
891 B
Plaintext
Raw Normal View History

2010-12-14 14:18:57 +01:00
# Description: Tools to create, alter and inspect Matroska files.
# URL: http://www.bunkus.org/videotools/mkvtoolnix
2010-12-14 14:18:57 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Han Boetes, han at mijncomputer dot nl
2010-12-15 14:11:22 +01:00
# Depends on: boost file flac libmatroska libvorbis ruby
2008-02-13 21:09:45 +01:00
name=mkvtoolnix
2011-07-13 13:13:29 +02:00
version=4.9.1
2008-02-13 21:09:45 +01:00
release=1
source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$name-$version.tar.bz2)
2008-02-13 21:09:45 +01:00
2010-12-14 14:18:57 +01:00
build() {
2008-02-13 21:09:45 +01:00
cd $name-$version
2010-12-14 14:18:57 +01:00
2010-12-15 14:11:22 +01:00
local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' <<< $MAKEFLAGS)"
2011-05-21 04:25:19 +02:00
# Disable automagic curl dep used for online update checking
sed -i -e '/curl/d' configure.in
export CURL_CFLAGS="" CURL_LIBS=""
autoreconf
2008-02-13 21:09:45 +01:00
./configure \
--prefix=/usr \
2011-05-21 04:25:19 +02:00
--mandir=/usr/man \
--disable-precompiled-headers
2010-12-14 14:18:57 +01:00
2010-12-15 14:11:22 +01:00
./drake $JOBS
./drake $JOBS DESTDIR=$PKG install
rm -r \
$PKG/usr/man/{ja,nl,zh_CN} \
$PKG/usr/share/locale \
2011-02-04 09:48:58 +01:00
$PKG/usr/share/doc
2008-02-13 21:09:45 +01:00
}