summaryrefslogtreecommitdiff
blob: 86fef5739c536eea87258f20550e7052ae5c8a3b (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.43-r1.ebuild,v 1.2 2000/08/16 04:37:55 drobbins Exp $

P=sablotron-0.42
A="Sablot-0.42.tar.gz Sablot-Expat-1.1.1.tar.gz"
S=${WORKDIR}/Sablot-0.42
DESCRIPTION="An XSLT Parser in C++"
SRC_URI="http://www.gingerall.com/download/Sablot-0.42.tar.gz
	http://www.gingerall.com/download/Sablot-Expat-1.1.1.tar.gz"
HOMEPAGE="http://www.gingerall.com/charlie-bin/get/webGA/act/sablotron.act"

src_unpack() {
  unpack Sablot-0.42.tar.gz
  cd ${S}
  unpack Sablot-Expat-1.1.1.tar.gz
}
src_compile() {

    cd ${S}
    ./configure --prefix=/usr --host=${CHOST}
    make

}

src_install () {

    cd ${S}
    dodir /usr/lib
    dodir /usr/include
    dodir /usr/bin
    make prefix=${D}/usr install
    dodoc README
    dodoc Sablot/RELEASE Sablot/TODO
    docinto html/expat
    dodoc Expat/distribution/expat.html
}