aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-04 23:26:08 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-04 23:43:08 +0500
commit7b076a6ec8c7dd16c598c10c5e5a1794b7658244 (patch)
tree340d7428aead48be5a7a5c5062712b8d90dd54c8
parentdev-zig: fix indent in metadata.xml (diff)
downloadguru-7b076a6ec8c7dd16c598c10c5e5a1794b7658244.tar.gz
guru-7b076a6ec8c7dd16c598c10c5e5a1794b7658244.tar.bz2
guru-7b076a6ec8c7dd16c598c10c5e5a1794b7658244.zip
dev-libs/libopensmtpd: new package, add 0.7
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
-rw-r--r--dev-libs/libopensmtpd/Manifest1
-rw-r--r--dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild38
-rw-r--r--dev-libs/libopensmtpd/metadata.xml13
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/libopensmtpd/Manifest b/dev-libs/libopensmtpd/Manifest
new file mode 100644
index 000000000..8d4ee9ae1
--- /dev/null
+++ b/dev-libs/libopensmtpd/Manifest
@@ -0,0 +1 @@
+DIST libopensmtpd-0.7.tar.gz 34942 BLAKE2B 09b820bed528678adce8e52db9a0001732636668ece49eca4bd91c35374d53d3c076367dc543d06ef73b671b2776942bb210b82da4a4804db7a91e5065545df5 SHA512 53153eea5ed85309434316fa9bbba032aba9cac30744a6c228892b5fdf67f9df7e05c25832f16845c603892a255dfcf67d432e2a43ec6228f3103cf92ba2394f
diff --git a/dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild b/dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild
new file mode 100644
index 000000000..2781caa35
--- /dev/null
+++ b/dev-libs/libopensmtpd/libopensmtpd-0.7.ebuild
@@ -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
+}
diff --git a/dev-libs/libopensmtpd/metadata.xml b/dev-libs/libopensmtpd/metadata.xml
new file mode 100644
index 000000000..315723057
--- /dev/null
+++ b/dev-libs/libopensmtpd/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>martijn@openbsd.org</email>
+ <name>Martijn van Duren</name>
+ </maintainer>
+</pkgmetadata>