diff options
Diffstat (limited to 'main/libraw1394/APKBUILD')
-rw-r--r-- | main/libraw1394/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/libraw1394/APKBUILD b/main/libraw1394/APKBUILD new file mode 100644 index 0000000000..1ead4abc5a --- /dev/null +++ b/main/libraw1394/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Leonardo Arena <rnalrd@gmail.com> +pkgname=libraw1394 +pkgver=2.0.5 +pkgrel=0 +pkgdesc="Library to provide access to Linux 1394 subsystem" +url="http://sourceforge.net/projects/libraw1394" +arch="all" +license="LGPL" +depends= +depends_dev= +makedepends="" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$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 +} + +md5sums="1db64231c78540c32859b591cb8b40cf libraw1394-2.0.5.tar.gz" |