You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
857 B
51 lines
857 B
9 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
10 years ago
|
|
||
|
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() {
|
||
|
dobin ${PN}
|
||
9 years ago
|
dodoc README.md
|
||
10 years ago
|
doman ${PN}.1
|
||
|
|
||
|
save_config config.def.h
|
||
|
}
|