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

Contents of /app-text/sablotron/sablotron-0.44-r2.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, 7 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.44-r2.ebuild,v 1.2 2000/12/17 20:09:01 achim Exp $
5
6 A="Sablot-${PV}.tar.gz Sablot-Expat-1.1.2.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/Sablot-${PV}.tar.gz
10 http://www.gingerall.com/perl/rd?url=sablot/Sablot-Expat-1.1.2.tar.gz"
11 HOMEPAGE="http://www.gingerall.com/charlie-bin/get/webGA/act/sablotron.act"
12
13 DEPEND=">=sys-devel/gcc-2.95.2
14 >=sys-libs/glibc-2.1.3"
15
16 src_unpack() {
17 unpack Sablot-${PV}.tar.gz
18 cd ${S}
19 unpack Sablot-Expat-1.1.2.tar.gz
20 if [ "`use glibc22`" ]
21 then
22 cp ${FILESDIR}/utf8.cpp Sablot/engine/
23 fi
24 }
25
26 src_compile() {
27
28 cd ${S}
29 try ./configure --prefix=/usr --host=${CHOST}
30 try make
31
32 }
33
34 src_install () {
35
36 cd ${S}
37 dodir /usr/lib
38 dodir /usr/include
39 dodir /usr/bin
40 try make prefix=${D}/usr install
41 dodoc README
42 dodoc Sablot/RELEASE Sablot/TODO
43 docinto html/expat
44 dodoc Expat/distribution/expat.html
45 }

  ViewVC Help
Powered by ViewVC 1.1.20