void-packages/srcpkgs/libopensmtpd/template

32 lines
838 B
Bash

# Template file for 'libopensmtpd'
pkgname=libopensmtpd
version=0.7
revision=1
build_style=gnu-makefile
make_cmd="make -f Makefile.gnu"
make_use_env=yes
make_build_args="MANFORMAT="
make_install_args="MANFORMAT="
makedepends="libevent-devel"
short_desc="Library for creating opensmtpd filters"
maintainer="Adam Gausmann <adam@gaussian.dev>"
license="ISC"
homepage="http://imperialat.at/dev/libopensmtpd/"
distfiles="https://distfiles.sigtrap.nl/${pkgname}-${version}.tar.gz"
checksum=cdd6d5e11a7063f9265da43a42309c646554b8b68b03982ca8472dbe2b08a613
make_check=no # Does not have a test suite
post_install() {
vlicense LICENSE
}
libopensmtpd-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}