You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
640 B

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
S="${WORKDIR}/${P}/XML"
DESCRIPTION="Integrated set of XML tools and a developers tool-kit with C API"
HOMEPAGE="http://www.ltg.ed.ac.uk/software/xml/"
SRC_URI=ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ia64 ppc x86"
IUSE=""
DEPEND="dev-lang/perl"
PV_MAJ="${PV:0:1}${PV:2:1}"
src_compile() {
econf || die "configure failed"
emake all || die "make failed"
}
src_install() {
einstall \
datadir=${D}/usr/lib/${PN}${PV_MAJ} \
MANDIR=${D}/usr/share/man \
|| die "make install failed"
}