diff options
author | 2017-05-15 11:26:21 +0200 | |
---|---|---|
committer | 2017-05-19 12:51:24 +0200 | |
commit | 4fe6deee92505d3c7ddc0d4a18d377e2596959ea (patch) | |
tree | 6dfa1eb29549b812d81faa585010083eb2e1d28a /app-misc/abduco/abduco-0.6.ebuild | |
parent | app-portage/deltup: ability to use libressl (diff) | |
download | gentoo-4fe6deee92505d3c7ddc0d4a18d377e2596959ea.tar.gz gentoo-4fe6deee92505d3c7ddc0d4a18d377e2596959ea.tar.bz2 gentoo-4fe6deee92505d3c7ddc0d4a18d377e2596959ea.zip |
app-misc/abduco: version bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-misc/abduco/abduco-0.6.ebuild')
-rw-r--r-- | app-misc/abduco/abduco-0.6.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/abduco/abduco-0.6.ebuild b/app-misc/abduco/abduco-0.6.ebuild new file mode 100644 index 000000000000..43df63cf6123 --- /dev/null +++ b/app-misc/abduco/abduco-0.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit 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 + + tc-export CC + + default +} + +src_test() { + ./testsuite.sh || die +} + +src_install() { + dobin ${PN} + dodoc README.md + doman ${PN}.1 + + save_config config.def.h +} |