/[gentoo-x86]/app-misc/abduco/abduco-0.2.ebuild
Gentoo

Contents of /app-misc/abduco/abduco-0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Nov 24 21:28:52 2014 UTC (5 years, 10 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Version bump (Hendrik v. Raven).

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

1 xmw 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-misc/abduco/abduco-0.1.ebuild,v 1.3 2014/08/10 18:00:28 slyfox Exp $
4    
5     EAPI=5
6    
7     inherit eutils savedconfig toolchain-funcs
8    
9     DESCRIPTION="lightweight session manager with {de,at}tach support"
10     HOMEPAGE="http://www.brain-dump.org/projects/abduco/"
11     SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
12    
13     LICENSE="ISC"
14     SLOT="0"
15     KEYWORDS="~amd64 ~arm ~x86"
16     IUSE=""
17    
18     DEPEND=""
19     RDEPEND=""
20    
21     src_prepare() {
22     sed -e 's:^PREFIX.*:PREFIX = /usr:' \
23     -e 's/-Os//' \
24     -e '/^CC/d' \
25     -i config.mk || die
26    
27     sed -e "s/VERSION/${PV}/g" \
28     -i ${PN}.1 || die
29    
30     sed -e '/@echo CC/d' \
31     -e 's|@${CC}|$(CC)|g' \
32     -i Makefile || die
33    
34     restore_config config.def.h
35     epatch_user
36    
37     tc-export CC
38     }
39    
40     src_test() {
41     ./testsuite.sh || die
42     }
43    
44     src_install() {
45     dobin ${PN}
46     dodoc README
47     doman ${PN}.1
48    
49     save_config config.def.h
50     }

  ViewVC Help
Powered by ViewVC 1.1.20