aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-16 00:05:56 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-21 08:30:38 +0000
commit9c5b4ab7b0aa610edd3bf57102b7b4171898182a (patch)
tree332166379353893bbf1a579df4219ba48b820210 /main
parent94abf6fe09097fb81ccbf101bf1fd8f693019a8f (diff)
downloadaports-9c5b4ab7b0aa610edd3bf57102b7b4171898182a.tar.bz2
aports-9c5b4ab7b0aa610edd3bf57102b7b4171898182a.tar.xz
main/libvdpau: new apkbuild
(cherry picked from commit e5393d8acc2e2d87aaf6b180775e07f681eb3fd7)
Diffstat (limited to 'main')
-rw-r--r--main/libvdpau/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/libvdpau/APKBUILD b/main/libvdpau/APKBUILD
new file mode 100644
index 0000000000..b38a2d42f8
--- /dev/null
+++ b/main/libvdpau/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Carlo Landmeter
+# Maintainer:
+pkgname=libvdpau
+pkgver=0.4
+pkgrel=0
+pkgdesc="Nvidia VDPAU library"
+url="http://cgit.freedesktop.org/~aplattner/libvdpau"
+license="custom"
+depends=
+makedepends="libx11-dev"
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+}
+
+md5sums="06da6f81ad37708b33a20ed177a44d81 libvdpau-0.4.tar.gz"