void-packages/srcpkgs/libabw/template
Jürgen Buchmüller 29a40dfb3b
libabw: fix build w/ gcc-9.1.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-18 17:15:59 +02:00

36 lines
936 B
Bash

# Template file for 'libabw'
pkgname=libabw
version=0.1.2
revision=2
build_style=gnu-configure
short_desc="Library that parses the file format of AbiWord documents"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libabw"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
makedepends="librevenge-devel boost-devel libxml2-devel"
hostmakedepends="automake libtool pkg-config perl gperf"
checksum=0b72944d5af81dda0a5c5803ee84cbac4b81441a4d767aa57029adc6744c2485
CXXFLAGS="-Wno-deprecated-copy"
pre_configure() {
autoreconf -fi
}
libabw-devel_package() {
depends="libabw>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libabw-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}