blob: ba24aaf7d43db2831caacbdc3cc35bc8512490f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.96.ebuild,v 1.12 2004/02/23 16:41:08 usata Exp $
inherit eutils libtool
MY_P="Sablot-${PV}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="An XSLT Parser in C++"
SRC_URI="http://download-1..gingerall.cz/download/sablot/${MY_P}.tar.gz"
HOMEPAGE="http://www.gingerall.com/charlie/ga/xml/p_sab.xml"
SLOT="0"
LICENSE="MPL-1.1"
KEYWORDS="x86 sparc ~ppc hppa"
DEPEND=">=dev-libs/expat-1.95.1"
src_unpack() {
unpack ${A}
cd ${S}/src/engine
epatch ${FILESDIR}/Sablot-0.96.1.patch
}
src_compile() {
local myconf=
# Please do not remove, else we get references to PORTAGE_TMPDIR
# in /usr/lib/libsablot.la ...
elibtoolize
use perl && myconf="--enable-perlconnect"
# rphillips
# fixes bug #3876
export LDFLAGS="-lstdc++"
econf ${myconf}
make || die
}
src_install() {
einstall
dodoc README* RELEASE
dodoc src/TODO
}
|