summaryrefslogtreecommitdiff
path: root/extra/libmp4v2/PKGBUILD
blob: dd806ff964d34ca6b8cc005141f65e998e9188c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $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.9.1
pkgrel=1
pkgdesc="MPEG-4 library"
arch=('i686' 'x86_64' 'mips64el')
license=('MPL')
url="http://code.google.com/p/mp4v2/"
options=('!libtool')
source=(http://mp4v2.googlecode.com/files/mp4v2-${pkgver}.tar.bz2)
md5sums=('986701929ef15b03155ac4fb16444797')

build() {
  cd ${srcdir}/mp4v2-${pkgver}

  ./configure --prefix=/usr || return 1
  make || return 1
}

package() {
  cd ${srcdir}/mp4v2-${pkgver}
  make DESTDIR=${pkgdir} install || return 1
  make DESTDIR=${pkgdir} install-man || return 1
}