libewf: fix distfile and build (needs -std=gnu89)

This commit is contained in:
Jürgen Buchmüller 2018-01-13 16:59:13 +01:00
parent f8bf6b3ea2
commit 067ea9b1fb

View file

@ -1,19 +1,21 @@
# Template file for 'libewf'
pkgname=libewf
version=20140608
revision=1
revision=2
build_style=gnu-configure
makedepends="zlib-devel bzip2-devel libuuid-devel fuse-devel"
short_desc="Libewf and tooling to access the Expert Witness Compression Format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://code.google.com/p/libewf/"
distfiles="https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-${version}.tar.gz"
distfiles="http://http.debian.net/debian/pool/main/libe/libewf/libewf_${version}.orig.tar.gz"
checksum=d14030ce6122727935fbd676d0876808da1e112721f3cb108564a4d9bf73da71
CPPFLAGS="-std=gnu89"
libewf-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"