diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild')
-rw-r--r-- | net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild b/net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild new file mode 100644 index 000000000000..623cf77ed841 --- /dev/null +++ b/net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Rate-limited autoresponder for qmail" +HOMEPAGE="https://untroubled.org/qmail-autoresponder/" +SRC_URI="https://untroubled.org/qmail-autoresponder/archive/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="mysql" + +DEPEND=">=dev-libs/bglibs-2.04 + mysql? ( dev-db/mysql-connector-c:0= )" +RDEPEND="${DEPEND} + virtual/qmail + mysql? ( virtual/mysql )" + +src_configure() { + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die +} + +src_compile() { + emake qmail-autoresponder + if use mysql; then + emake qmail-autoresponder-mysql + fi +} + +src_install () { + dobin qmail-autoresponder + doman qmail-autoresponder.1 + if use mysql; then + dobin qmail-autoresponder-mysql + doman qmail-autoresponder-mysql.1 + dodoc schema.mysql + fi + + dodoc ANNOUNCEMENT NEWS README TODO ChangeLog procedure.txt +} |