/[gentoo-x86]/app-text/sablotron/sablotron-1.0.ebuild
Gentoo

Contents of /app-text/sablotron/sablotron-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Sat Mar 25 13:16:17 2006 UTC (8 years, 8 months ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.0.54)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-1.0.ebuild,v 1.13 2005/01/01 16:34:37 eradicator Exp $
4
5 inherit libtool flag-o-matic
6
7 MY_PN="Sablot"
8 MY_P="${MY_PN}-${PV}"
9 S=${WORKDIR}/${MY_P}
10
11 DESCRIPTION="An XSLT Parser in C++"
12 HOMEPAGE="http://www.gingerall.com/charlie/ga/xml/p_sab.xml"
13 SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
14 # Sablotron can optionally be built under GPL, using MPL for now
15 LICENSE="MPL-1.1"
16
17 SLOT="0"
18 IUSE="doc perl"
19 KEYWORDS="x86 sparc ~ppc hppa alpha amd64 ia64"
20
21 RDEPEND=">=dev-libs/expat-1.95.6-r1"
22 DEPEND="${RDEPEND}
23 doc? ( >=dev-perl/XML-Parser-2.3 )"
24
25 DOCS="INSTALL README README_JS RELEASE src/TODO"
26
27 src_compile() {
28
29 local myconf=
30
31 # Please do not remove, else we get references to PORTAGE_TMPDIR
32 # in /usr/lib/libsablot.la ...
33 elibtoolize
34
35 use perl \
36 && myconf="${myconf} --enable-perlconnect"
37
38 use doc \
39 && myconf="${myconf} --with-html-dir=${D}/usr/share/doc/${P}/html" \
40 || myconf="${myconf} --without-html-dir"
41
42 # rphillips, fixes bug #3876
43 # this is fixed for me with apache2, but keeping it in here
44 # for apache1 users and/or until some clever detection
45 # is added <obz@gentoo.org>
46 append-ldflags -lstdc++
47
48 econf ${myconf} || die "Configure failed"
49 emake || die "Make failed"
50
51 }
52
53 src_install() {
54
55 einstall prefix=${D}/usr || die "Install failed"
56 dodoc ${DOCS}
57
58 }

  ViewVC Help
Powered by ViewVC 1.1.20