void-packages/srcpkgs/libpst/template
2018-11-24 09:09:10 +01:00

35 lines
978 B
Bash

# Template file for 'libpst'
pkgname=libpst
version=0.6.72
revision=1
build_style=gnu-configure
configure_args="--enable-libpst-shared --disable-python"
hostmakedepends="pkg-config"
makedepends="gd-devel libgsf-devel libmagick-devel"
short_desc="Read and manipulate PST files"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://www.five-ten-sg.com/libpst/"
distfiles="http://www.five-ten-sg.com/libpst/packages/libpst-${version}.tar.gz"
checksum=8a19d891eb077091c507d98ed8e2d24b7f48b3e82743bcce2b00a12040f5d507
libpst-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/doc
}
}
libpst-utils_package() {
short_desc+=" - utilities"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}