summaryrefslogtreecommitdiff
blob: 9c047a99be22f94d82f79613352e53b0ae2868a6 (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.4 2000/09/15 20:08:47 drobbins Exp $

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

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

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

}

src_install () {

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