void-packages/srcpkgs/libesmtp/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

23 lines
722 B
Bash

# Template file for 'libesmtp'
pkgname=libesmtp
version=1.0.6
revision=9
build_style=gnu-configure
configure_args="--disable-static --with-openssl"
makedepends="libressl-devel"
short_desc="Manage submission of emails using SMTP protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://stafford.uklinux.net/libesmtp/"
license="LGPL-2.1"
distfiles="http://stafford.uklinux.net/libesmtp/${pkgname}-${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
}
}