guru/dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild
Anna (cybertailor) Vyalkova 7b076a6ec8
dev-libs/libopensmtpd: new package, add 0.7
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-11-04 23:43:08 +05:00

39 lines
699 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Library for creating OpenSMTPD filters"
HOMEPAGE="http://imperialat.at/dev/libopensmtpd/"
SRC_URI="http://imperialat.at/releases/${P}.tar.gz"
LICENSE="ISC"
SLOT="0/0.1"
KEYWORDS="~amd64"
DEPEND="dev-libs/libevent:="
RDEPEND="${DEPEND}"
src_configure() {
tc-export CC
}
src_compile() {
local myargs=(
MANFORMAT=mdoc
)
emake -f Makefile.gnu "${myargs[@]}"
}
src_install() {
local myargs=(
MANFORMAT=mdoc
DESTDIR="${D}"
LOCALBASE="${EPREFIX}"/usr
LIBDIR="${EPREFIX}"/usr/$(get_libdir)
)
emake -f Makefile.gnu "${myargs[@]}" install
}