void-packages/srcpkgs/libfreehand/template

38 lines
997 B
Bash

# Template file for 'libfreehand'
pkgname=libfreehand
version=0.1.2
revision=3
build_style=gnu-configure
hostmakedepends="doxygen gperf perl pkg-config"
makedepends="icu-devel lcms2-devel librevenge-devel"
short_desc="Parser for Aldus/Macromedia/Adobe FreeHand documents"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac
CXXFLAGS="-Wno-deprecated-copy"
post_install() {
vlicense COPYING
}
libfreehand-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}
libfreehand-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}