From cd8c31e9a5289116f64de508d9b77398d43cdbe5 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 30 Nov 2010 23:37:46 +0000 Subject: libmp4v2: upgrade --- abs/core/libmp4v2/PKGBUILD | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/abs/core/libmp4v2/PKGBUILD b/abs/core/libmp4v2/PKGBUILD index 7c0557c..9182dd2 100644 --- a/abs/core/libmp4v2/PKGBUILD +++ b/abs/core/libmp4v2/PKGBUILD @@ -1,33 +1,28 @@ -# $Id: PKGBUILD 3482 2008-06-22 21:06:58Z jgc $ -# Maintainer: Jan de Groot +# $Id: PKGBUILD 71330 2010-03-06 18:41:25Z andrea $ +# Maintainer: +# Contributor: Andrea Scarpino +# Contributor: Jan de Groot pkgname=libmp4v2 -pkgver=1.6 +pkgver=1.9.1 pkgrel=1 -pkgdesc="MPEG-4 library and tools from mpeg4ip" -arch=('i686') -license=('custom') -url="http://mpeg4ip.sourceforge.net/" -depends=('gcc-libs') +pkgdesc="MPEG-4 library" +arch=('i686' 'x86_64') +license=('MPL') +url="http://code.google.com/p/mp4v2/" options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/mpeg4ip/mpeg4ip-${pkgver}.tar.gz) -md5sums=('004b481542e5aa9fdb455d9a1b640eff') +source=(http://mp4v2.googlecode.com/files/mp4v2-${pkgver}.tar.bz2) +md5sums=('986701929ef15b03155ac4fb16444797') build() { - cd ${startdir}/src/mpeg4ip-${pkgver} - touch bootstrapped - echo "" > lib/rtp/configure - echo "" > lib/SDLAudio/configure + cd ${srcdir}/mp4v2-${pkgver} ./configure --prefix=/usr || return 1 - for dir in lib/gnu lib/mp4av lib/mp4v2; do - cd ${startdir}/src/mpeg4ip-${pkgver}/${dir} - make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 - done - install -m644 ${startdir}/src/mpeg4ip-${pkgver}/include/mpeg4ip{,_version}.h ${startdir}/pkg/usr/include/ || return 1 - install -m644 $startdir/src/mpeg4ip-$pkgver/mpeg4ip_config.h $startdir/pkg/usr/include/ || return 1 - - install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 ${srcdir}/mpeg4ip-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 + make || return 1 } + +package() { + cd ${srcdir}/mp4v2-${pkgver} + make DESTDIR=${pkgdir} install || return 1 + make DESTDIR=${pkgdir} install-man || return 1 +} \ No newline at end of file -- cgit v0.12