# $Id: PKGBUILD 113970 2011-03-11 00:06:49Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: 03/08/04 pkgname=mkvtoolnix pkgver=4.6.0 pkgrel=1 pkgdesc="Set of tools to create, edit and inspect Matroska files" arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.bunkus.org/videotools/mkvtoolnix/index.html" depends=('libmatroska' 'flac' 'libvorbis' 'file' 'boost-libs' 'lzo2' 'xdg-utils') makedepends=('wxgtk' 'boost' 'ruby') optdepends=('wxgtk: mkvmerge,mkvinfo and mmg GUI') install=mkvtoolnix.install source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2") md5sums=('ca4e5b226175a6df2f9fdad206abf0a8') build() { cd "${srcdir}/${pkgname}-${pkgver}" export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=2" export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" ./configure --prefix=/usr \ --with-boost-libdir=/usr/lib ./drake } package () { cd "${srcdir}/${pkgname}-${pkgver}" ./drake DESTDIR="${pkgdir}" install }