diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/qtools/qtools-0.56.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/qtools/qtools-0.56.ebuild')
-rw-r--r-- | net-mail/qtools/qtools-0.56.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-mail/qtools/qtools-0.56.ebuild b/net-mail/qtools/qtools-0.56.ebuild new file mode 100644 index 000000000000..19b2f5e5da2e --- /dev/null +++ b/net-mail/qtools/qtools-0.56.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="Several utilities for use with qmail, typically as part of .qmail command processing" +HOMEPAGE="http://www.superscript.com/qtools/intro.html" +SRC_URI="http://www.superscript.com/qtools/${P}.tar.gz" + +LICENSE="all-rights-reserved public-domain" # includes code from qmail +SLOT="0" +KEYWORDS="alpha ~amd64 ~hppa ~mips ppc ~sparc x86" +IUSE="static" +RESTRICT="mirror bindist" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-errno.patch + epatch "${FILESDIR}"/${P}-head.patch +} + +src_compile() { + use static && LDFLAGS="${LDFLAGS} -static" + export CC="$(tc-getCC)" + echo "${CC} ${CFLAGS}" > conf-cc + echo "${CC} ${LDFLAGS}" > conf-ld + echo "/usr" > conf-home + emake || die "emake failed" +} + +src_install() { + into /usr + dobin 822addr 822body 822bodyfilter 822fields 822headerfilter \ + 822headerok 822headers checkaddr checkdomain \ + condtomaildir filterto ifaddr iftoccfrom replier \ + replier-config tomaildir + + dodoc BAPVERSION CHANGES FILES README SYSDEPS TARGETS TODO VERSION +} |