void-packages/srcpkgs/libpst/template
2020-03-31 15:35:17 +02:00

35 lines
978 B
Bash

# Template file for 'libpst'
pkgname=libpst
version=0.6.75
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=4ca98fed8ba208d902c954d82eaf2bf5e071c609df695ec4eb34af110f719987
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
}
}