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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Fri Feb 20 00:24:17 2015 UTC (5 years, 8 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump bu lorem_ipsum

(Portage version: 2.2.15/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 xmw 1.4 # $Header: /var/cvsroot/gentoo-x86/app-misc/abduco/abduco-0.1.ebuild,v 1.3 2014/08/10 18:00:28 slyfox Exp $
4 xmw 1.1
5     EAPI=5
6    
7     inherit eutils savedconfig toolchain-funcs
8    
9 slyfox 1.3 DESCRIPTION="lightweight session manager with {de,at}tach support"
10 xmw 1.1 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 xmw 1.2 KEYWORDS="~amd64 ~arm ~x86"
16 xmw 1.1 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