X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=mail-mta%2Fsmailq%2Fsmailq-1.2.ebuild;fp=mail-mta%2Fsmailq%2Fsmailq-1.2.ebuild;h=4a689c53109debff2892dabec1eac7543ca73654;hp=448592b8935dbc14cb3136d4a41151881cbc9bc5;hb=3371c7b14a02fa327ccfb7be6ae2de3269db3e31;hpb=706cc50c41dc04ecc4ccd3e291e3e5157c15c25f diff --git a/mail-mta/smailq/smailq-1.2.ebuild b/mail-mta/smailq/smailq-1.2.ebuild index 448592b..4a689c5 100644 --- a/mail-mta/smailq/smailq-1.2.ebuild +++ b/mail-mta/smailq/smailq-1.2.ebuild @@ -1,17 +1,23 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=5 +EAPI=7 DESCRIPTION="A simple mail queue" HOMEPAGE="http://www.sthu.org/code/smailq.html" -SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz -> ${P}.tar.gz" - LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~x86 ~amd64" -RESTRICT="mirror" IUSE="+mta" +RESTRICT="mirror" + +if [ "${PV}" == "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sthu.org/repos/smailq.git" +else + SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz" + KEYWORDS="~x86 ~amd64" + S="${WORKDIR}/${PN}-v${PV}" +fi DEPEND=" >=dev-lang/python-3.2 @@ -33,7 +39,6 @@ DEPEND=" !>=mail-mta/ssmtp-2.64-r2[mta] " RDEPEND="${DEPEND}" -S="${WORKDIR}/${PN}-v${PV}-cff9154" src_install() {