diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/libmp4v2/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/libmp4v2/PKGBUILD')
-rw-r--r-- | abs/core-testing/libmp4v2/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core-testing/libmp4v2/PKGBUILD b/abs/core-testing/libmp4v2/PKGBUILD new file mode 100644 index 0000000..7c0557c --- /dev/null +++ b/abs/core-testing/libmp4v2/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 3482 2008-06-22 21:06:58Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libmp4v2 +pkgver=1.6 +pkgrel=1 +pkgdesc="MPEG-4 library and tools from mpeg4ip" +arch=('i686') +license=('custom') +url="http://mpeg4ip.sourceforge.net/" +depends=('gcc-libs') +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/mpeg4ip/mpeg4ip-${pkgver}.tar.gz) +md5sums=('004b481542e5aa9fdb455d9a1b640eff') + +build() { + cd ${startdir}/src/mpeg4ip-${pkgver} + touch bootstrapped + echo "" > lib/rtp/configure + echo "" > lib/SDLAudio/configure + + ./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 +} |