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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 30 09:32:20 2001 UTC (13 years, 5 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Cleanup

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.50.ebuild,v 1.2 2001/02/10 11:17:24 achim Exp $
5
6 A="Sablot-${PV}.tar.gz"
7 S=${WORKDIR}/Sablot-${PV}
8 DESCRIPTION="An XSLT Parser in C++"
9 SRC_URI="http://www.gingerall.com/perl/rd?url=sablot/${A}"
10 HOMEPAGE="http://www.gingerall.com/charlie-bin/get/webGA/act/sablotron.act"
11
12 DEPEND=">=sys-devel/gcc-2.95.2 >=dev-libs/expat-1.95.1 virtual/glibc"
13
14 src_unpack() {
15 unpack Sablot-${PV}.tar.gz
16 if [ "`use glibc22`" ]
17 then
18 cd ${S}/Sablot/engine
19 cp utf8.cpp utf8.cpp.orig
20 sed -e '44d;46d' utf8.cpp.orig > utf8.cpp
21 fi
22 }
23
24 src_compile() {
25 cd ${S}
26 try ./configure --prefix=/usr --host=${CHOST}
27 try pmake
28
29 }
30
31 src_install () {
32 cd ${S}
33 dodir /usr/lib
34 dodir /usr/include
35 dodir /usr/bin
36 try make prefix=${D}/usr install
37 dodoc README
38 dodoc Sablot/RELEASE Sablot/TODO
39 }

  ViewVC Help
Powered by ViewVC 1.1.20