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

Contents of /app-text/sablotron/sablotron-1.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Mar 12 23:19:03 2007 UTC (7 years, 5 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Replacing text-markup herd with the new sgml herd.
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 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.1-r1.ebuild,v 1.2 2007/01/05 07:26:41 flameeyes 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_sub.xml"
13 SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
14
15 # Sablotron can optionally be built under GPL, using MPL for now
16 LICENSE="MPL-1.1"
17 SLOT="0"
18 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
19 IUSE="doc perl"
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 local myconf=
29
30 # Please do not remove, else we get references to PORTAGE_TMPDIR
31 # in /usr/lib/libsablot.la ...
32 elibtoolize
33
34 use perl \
35 && myconf="${myconf} --enable-perlconnect"
36
37 use doc \
38 && myconf="${myconf} --with-html-dir=${D}/usr/share/doc/${P}/html" \
39 || myconf="${myconf} --without-html-dir"
40
41 # rphillips, fixes bug #3876
42 # this is fixed for me with apache2, but keeping it in here
43 # for apache1 users and/or until some clever detection
44 # is added <obz@gentoo.org>
45 append-ldflags -lstdc++ -shared-libgcc
46
47 econf ${myconf} || die "Configure failed"
48 emake || die "Make failed"
49 }
50
51 src_install() {
52 einstall || die "Install failed"
53 dodoc ${DOCS}
54 }

  ViewVC Help
Powered by ViewVC 1.1.20