void-packages/srcpkgs/libpst/template
2021-03-28 13:15:53 -06:00

35 lines
978 B
Bash

# Template file for 'libpst'
pkgname=libpst
version=0.6.76
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=3d291beebbdb48d2b934608bc06195b641da63d2a8f5e0d386f2e9d6d05a0b42
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
}
}