summaryrefslogtreecommitdiffstats
path: root/testing/libewf
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libewf')
-rw-r--r--testing/libewf/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/libewf/APKBUILD b/testing/libewf/APKBUILD
new file mode 100644
index 000000000..8ebc87143
--- /dev/null
+++ b/testing/libewf/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=libewf
+pkgver=20100226
+pkgrel=0
+pkgdesc="Library to support the Expert Witness Compression Format"
+url="http://libewf.sourceforge.net"
+arch="all"
+license="LGPL2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://downloads.sourceforge.net/libewf/libewf-$pkgver.tar.gz"
+_builddir="$srcdir"/libewf-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="a697d629bb74df1fa68f22658634fdb9 libewf-20100226.tar.gz"