blob: 1f4d4f1af478b31bb2446c452fc9aa28729aff21 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/xmlwrapp-0.4.0.ebuild,v 1.7 2004/06/24 23:38:50 agriffis Exp $
inherit eutils
DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
HOMEPAGE="http://pmade.org/software/xmlwrapp/"
SRC_URI="http://pmade.org/software/xmlwrapp/download/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
DEPEND="virtual/glibc
dev-lang/perl
dev-libs/libxml2
dev-libs/libxslt"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-gentoo.diff
perl configure.pl --prefix /usr
mv xmlwrapp-config xmlwrapp-config.bak
perl configure.pl --prefix ${D}/usr
mv xmlwrapp-config.bak xmlwrapp-config
}
src_install() {
make prefix=${D}/usr install || die
}
|