void-packages/srcpkgs/libwpg/template

31 lines
775 B
Bash

# Template file for 'libwpg'
pkgname=libwpg
version=0.3.1
revision=1
build_style=gnu-configure
short_desc="Library for importing WordPerfect Graphics"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.0, LGPL-2.1"
makedepends="libwpd-devel librevenge-devel"
hostmakedepends="pkg-config"
homepage="http://libwpg.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwpg/libwpg-${version}.tar.xz"
checksum=620d888c10d7e1127d5123ff0065f1b62b86b91bac27d8ae10dcfbdb6bf4278f
libwpg-devel_package() {
depends="libwpg>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libwpg-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}