mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
dev-libs/libopensmtpd: new package, add 0.7
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
38
dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild
Normal file
38
dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user