Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 412081
Collapse All | Expand All

(-)ticpp-0_p20100924.ebuild (-11 / +10 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/ticpp/ticpp-0_p20100924.ebuild,v 1.2 2011/07/01 07:54:07 hwoarang Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/ticpp/ticpp-0_p20100924.ebuild,v 1.2 2011/07/01 07:54:07 hwoarang Exp $
4
4
5
EAPI=4
6
5
DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths"
7
DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths"
6
HOMEPAGE="http://code.google.com/p/ticpp/"
8
HOMEPAGE="http://code.google.com/p/ticpp/"
7
SRC_URI="http://sulmonalug.it/files/mrfree/${P}.tar.bz2"
9
SRC_URI="http://dev.gentoo.org/~ago/distfiles/${P}.tar.bz2"
8
10
9
LICENSE="GPL-2"
11
LICENSE="GPL-2"
10
KEYWORDS="~amd64"
12
KEYWORDS="~amd64"
Lines 24-30 Link Here
24
		myconf="CONFIG=Release"
26
		myconf="CONFIG=Release"
25
	fi
27
	fi
26
28
27
	emake ${myconf} || die "emake failed"
29
	emake ${myconf}
28
30
29
	if use doc ; then
31
	if use doc ; then
30
		sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed"
32
		sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed"
Lines 34-51 Link Here
34
36
35
src_install () {
37
src_install () {
36
	insinto /usr/include/ticpp
38
	insinto /usr/include/ticpp
37
	doins *.h || die "installing headers failed"
39
	doins *.h
38
40
39
	if use debug ; then
41
	if use debug ; then
40
		dolib ../lib/libticppd.a || die "installing library failed"
42
		dolib ../lib/libticppd.a
41
	else
43
	else
42
		dolib ../lib/libticpp.a || die "installing library failed"
44
		dolib ../lib/libticpp.a
43
	fi
45
	fi
44
46
45
	dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt || \
47
	dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt
46
		die "dodoc failed"
47
48
48
	if use doc ; then
49
	use doc && dohtml -r docs/*
49
		dohtml -r docs/* || die "installing docs failed"
50
	fi
51
}
50
}

Return to bug 412081