logo

overlay

Personnal gentoo overlay
commit: 14381d105c433548fbd0c121b3bf3073673f11b0
parent: dc4f71a613f157fa2e00344fdc6cc552971f5148
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  8 Feb 2016 03:25:35 +0100

app-misc/abduco: Add version 0.4 and 0.5

Diffstat:

app-misc/abduco/abduco-0.4.ebuild | 47+++++++++++++++++++++++++++++++++++++++++++++++
app-misc/abduco/abduco-0.5.ebuild | 47+++++++++++++++++++++++++++++++++++++++++++++++
app-misc/abduco/abduco-9999.ebuild | 48++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 142 insertions(+), 0 deletions(-)

diff --git a/app-misc/abduco/abduco-0.4.ebuild b/app-misc/abduco/abduco-0.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="lightweight session manager with {de,at}tach support" +HOMEPAGE="http://www.brain-dump.org/projects/abduco/" +SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + sed -e 's:^PREFIX.*:PREFIX = /usr:' \ + -e 's/-Os//' \ + -e '/^CC/d' \ + -i config.mk || die + + sed -e "s/VERSION/${PV}/g" \ + -i ${PN}.1 || die + + sed -e '/@echo CC/d' \ + -e 's|@${CC}|$(CC)|g' \ + -i Makefile || die + + restore_config config.def.h + epatch_user + + tc-export CC +} + +src_test() { + ./testsuite.sh || die +} + +src_install() { + emake install + save_config config.def.h +} diff --git a/app-misc/abduco/abduco-0.5.ebuild b/app-misc/abduco/abduco-0.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="lightweight session manager with {de,at}tach support" +HOMEPAGE="http://www.brain-dump.org/projects/abduco/" +SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + sed -e 's:^PREFIX.*:PREFIX = /usr:' \ + -e 's/-Os//' \ + -e '/^CC/d' \ + -i config.mk || die + + sed -e "s/VERSION/${PV}/g" \ + -i ${PN}.1 || die + + sed -e '/@echo CC/d' \ + -e 's|@${CC}|$(CC)|g' \ + -i Makefile || die + + restore_config config.def.h + epatch_user + + tc-export CC +} + +src_test() { + ./testsuite.sh || die +} + +src_install() { + emake install + save_config config.def.h +} diff --git a/app-misc/abduco/abduco-9999.ebuild b/app-misc/abduco/abduco-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="lightweight session manager with {de,at}tach support" +HOMEPAGE="http://www.brain-dump.org/projects/abduco/" +SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + sed -e 's:^PREFIX.*:PREFIX = /usr:' \ + -e 's/-Os//' \ + -e '/^CC/d' \ + -i config.mk || die + + sed -e "s/VERSION/${PV}/g" \ + -i ${PN}.1 || die + + sed -e '/@echo CC/d' \ + -e 's|@${CC}|$(CC)|g' \ + -i Makefile || die + + restore_config config.def.h + epatch_user + + tc-export CC +} + +src_test() { + ./testsuite.sh || die +} + +src_install() { + emake install + + save_config config.def.h +}