void-packages/srcpkgs/libesmtp/template

25 lines
812 B
Bash

# Template file for 'libesmtp'
pkgname=libesmtp
version=1.0.6
revision=21
build_style=gnu-configure
configure_args="--disable-static --with-openssl"
makedepends="openssl-devel"
short_desc="Manage submission of emails using SMTP protocol"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://brianstafford.info/libesmtp/"
distfiles="https://sources.voidlinux.org/libesmtp-1.0.6/libesmtp-1.0.6.tar.bz2"
#distfiles="http://brianstafford.info/libesmtp/libesmtp-${version}.tar.bz2"
checksum=d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b
libesmtp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/libesmtp-config
vmove usr/include
vmove "usr/lib/*.so"
}
}