summaryrefslogtreecommitdiffstats
path: root/abs/core/libmp4v2
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libmp4v2')
-rw-r--r--abs/core/libmp4v2/PKGBUILD43
1 files 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 <jgc@archlinux.org>
+# $Id: PKGBUILD 71330 2010-03-06 18:41:25Z andrea $
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
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