diff options
-rw-r--r-- | testing/ivtv-utils/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/ivtv-utils/APKBUILD b/testing/ivtv-utils/APKBUILD new file mode 100644 index 0000000000..33bccec539 --- /dev/null +++ b/testing/ivtv-utils/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ivtv-utils +pkgver=1.4.0 +pkgrel=0 +pkgdesc="Userspace utilities and firmware for Hauppauge PVR cards" +url="http://ivtvdriver.org" +license="GPL" +depends= +makedepends="uclibc++-dev" +source="http://dl.ivtvdriver.org/ivtv/stable/$pkgname-$pkgver.tar.gz + http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + export CXX=${CXX_UC:-g++-uc} + make || return 1 + make DESTDIR="$pkgdir" PREFIX=/usr install || return 1 + + cd "$srcdir" + for file in *.fw v4l-cx2341x-init.mpg; do + install -D -m644 $file "$pkgdir"/lib/firmware/$file || return 1 + done + rm -rf "$pkgdir"/usr/include +} + +md5sums="13deb3fe973b175a115285e63f668b95 ivtv-utils-1.4.0.tar.gz +b9a871f1c569025be9c48a77b3515faf ivtv-firmware.tar.gz" |