python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / ogmtools / template
blob990237562662712714cf0a647e95d6fbb65bf271
1 # Template file for 'ogmtools'
2 pkgname=ogmtools
3 version=1.5
4 revision=2
5 short_desc="Tools for information,extractions or creation of OGG media streams"
6 maintainer="Martin Riese <grauehaare@gmx.de>"
7 license="GPL-2"
8 homepage="http://www.bunkus.org/videotools/ogmtools/"
9 distfiles="http://www.bunkus.org/videotools/ogmtools/ogmtools-1.5.tar.bz2"
10 checksum="c8d61d1dbceb981dc7399c1a85e43b509fd3d071fb8d3ca89ea9385e6e40fdea"
11 build_style=gnu-configure
12 configure_args="--disable-oggtest --disable-vorbistest --with-dvdread
13         --with-dvdread-includes=${XBPS_CROSS_BASE}/usr
14         --with-dvdread-libs=${XBPS_CROSS_BASE}/usr/lib"
15 hostmakedepends="automake libtool pkg-config"
16 makedepends="libvorbis-devel libdvdread-devel"
18 CFLAGS="-I./avilib"
19 CXXFLAGS="${CFLAGS}"
21 pre_configure() {
22         mv configure.{in,ac}
23         autoreconf -if
24         if [ "$CROSS_BUILD" ]; then
25                 # Fix unneeded error when cross compiling
26                 sed -i configure \
27                         -e '/.*test "$cross_compiling" = yes &&/d' \
28                         -e '/.*as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5/d'
29         fi