void-packages/srcpkgs/libpst/template
2020-01-16 10:54:58 +01:00

35 lines
978 B
Bash

# Template file for 'libpst'
pkgname=libpst
version=0.6.74
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=f787dadce74a9578939ab54babb3f3f0086808cdee2370d7faac9e1fad44fd37
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
}
}