summaryrefslogtreecommitdiffstats
path: root/abs/core/libiec61883/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libiec61883/PKGBUILD')
-rw-r--r--abs/core/libiec61883/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/abs/core/libiec61883/PKGBUILD b/abs/core/libiec61883/PKGBUILD
index dbb0b49..cd00382 100644
--- a/abs/core/libiec61883/PKGBUILD
+++ b/abs/core/libiec61883/PKGBUILD
@@ -1,5 +1,6 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Jason Chu <jason@archlinux.org>
+# $Id: PKGBUILD 144006 2011-12-01 16:55:03Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: Stephen Caraher <moskvax@gmail.com>
@@ -8,20 +9,22 @@ pkgver=1.2.0
pkgrel=3
pkgdesc="A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394"
arch=('i686' 'x86_64')
-url="http://www.linux1394.org/"
+url="http://www.kernel.org/pub/linux/libs/ieee1394/"
license=('LGPL')
depends=('libraw1394')
options=('!libtool')
-source=(http://www.kernel.org/pub/linux/libs/ieee1394/$pkgname-$pkgver.tar.gz)
+source=("http://ftp.osuosl.org/pub/linux/libs/ieee1394/${pkgname}-${pkgver}.tar.gz")
md5sums=('8af39fff74988073c3ad53fbab147da9')
build() {
- cd $startdir/src/$pkgname-$pkgver
- patch -p0 <$startdir/libiec61883-1.2.0-Makefile.patch
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
-# mkdir -p $startdir/pkg/usr/bin/.libs
-# cp $startdir/src/$pkgname-$pkgver/examples/test-mpeg2 $startdir/pkg/usr/bin || return 1
-# cp $startdir/src/$pkgname-$pkgver/examples/.libs/lt-test-mpeg2 $startdir/pkg/usr/bin/.libs || return 1
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
}