| 1 | # Contributor: Fabian Affolter <[email protected]> |
| 2 | # Maintainer: Fabian Affolter <[email protected]> |
| 3 | pkgname=libewf |
| 4 | pkgver=20240506 |
| 5 | pkgrel=0 |
| 6 | pkgdesc="Library to support the Expert Witness Compression Format" |
| 7 | url="https://libewf.sourceforge.net/" |
| 8 | arch="all" |
| 9 | license="LGPL-2.0-or-later" |
| 10 | depends_dev="zlib-dev bzip2-dev openssl-dev>3" |
| 11 | makedepends="$depends_dev fuse-dev" |
| 12 | subpackages="$pkgname-dev libewf-libs $pkgname-doc" |
| 13 | source="https://github.com/libyal/libewf/releases/download/$pkgver/libewf-experimental-$pkgver.tar.gz" |
| 14 | |
| 15 | build() { |
| 16 | # fix build on gcc6 |
| 17 | # export CFLAGS="$CFLAGS -std=gnu89" |
| 18 | ./configure \ |
| 19 | --prefix=/usr \ |
| 20 | --mandir=/usr/share/man \ |
| 21 | --disable-nls \ |
| 22 | --disable-static |
| 23 | make |
| 24 | } |
| 25 | |
| 26 | package() { |
| 27 | make DESTDIR="$pkgdir" install |
| 28 | } |
| 29 | |
| 30 | sha512sums=" |
| 31 | 373207c2795b820374dd2071145345966e65bc31d2f0679f1ecb759cea2b7e0802935c66e8bec9dd6e76c944e1ba4a616ed2de216cdad78934855d2355ae08bd libewf-experimental-20240506.tar.gz |
| 32 | " |