void-packages/srcpkgs/libwpg/template
2014-10-10 10:55:17 +02:00

30 lines
756 B
Bash

# Template file for 'libwpg'
pkgname=libwpg
version=0.3.0
revision=1
build_style=gnu-configure
short_desc="Library for importing WordPerfect Graphics"
maintainer="Enno Boland <eb@s01.de>"
license="MPL/LGPL"
makedepends="libwpd-devel librevenge-devel"
hostmakedepends="pkg-config"
homepage="http://libwpg.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwpg/libwpg-${version}.tar.xz"
checksum=6f709199235f4c061c3ffe1a5112ce6430e8434e621bf7b3e3dca16114eaf224
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
}
}