blob: 46e4dbced3a0d588e2b1f4c292fad1941cdea51e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=libewf
pkgver=20130303
pkgrel=0
pkgdesc="Library to support the Expert Witness Compression Format"
url="http://libewf.sourceforge.net"
arch="all"
license="LGPL2+"
depends=""
depends_dev="zlib-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://libewf.googlecode.com/files/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$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="adbdffca0edc7f8d30748a9009a5a2ce libewf-20130303.tar.gz"
sha256sums="a4a3a0179f882d0f392ea19893275da4146fb412d5211280d2d06d9f238451a5 libewf-20130303.tar.gz"
sha512sums="92f029c932265d0e0ee8f1a7e47ab02efd51977c13f1c811cca7d7137478ec33c99da1f8e07d8d2e71c8d5740a7ed15532440d9529bb2753704fad03fc66c01b libewf-20130303.tar.gz"
|