summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-25 17:55:45 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-25 17:55:45 +0000
commit54645d9d83d22aaa9ffcb5248f735faf3e1eb98d (patch)
treea4052051b3d8f37d7546ee5bfb3bf4e285d42e02 /dev-libs/libxml/libxml-1.8.17-r2.ebuild
parentmissing digest for pcmcia-cs (diff)
downloadgentoo-2-54645d9d83d22aaa9ffcb5248f735faf3e1eb98d.tar.gz
gentoo-2-54645d9d83d22aaa9ffcb5248f735faf3e1eb98d.tar.bz2
gentoo-2-54645d9d83d22aaa9ffcb5248f735faf3e1eb98d.zip
resolve symlink issue
Diffstat (limited to 'dev-libs/libxml/libxml-1.8.17-r2.ebuild')
-rw-r--r--dev-libs/libxml/libxml-1.8.17-r2.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libxml/libxml-1.8.17-r2.ebuild b/dev-libs/libxml/libxml-1.8.17-r2.ebuild
new file mode 100644
index 000000000000..4e9ffa931791
--- /dev/null
+++ b/dev-libs/libxml/libxml-1.8.17-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 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/dev-libs/libxml/libxml-1.8.17-r2.ebuild,v 1.1 2002/03/25 17:55:45 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="XML version 1 parser for Gnome"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.gnome.org/"
+
+RDEPEND=">=sys-libs/ncurses-5.2"
+
+DEPEND="${RDEPEND}
+ >=sys-libs/readline-4.1"
+
+
+src_compile() {
+ LDFLAGS="-lncurses" \
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib || die
+
+ make || die # Doesn't work with -j 4 (hallski)
+}
+
+src_install() {
+ make DESTDIR=${D} \
+ BASE_DIR=/usr/share/doc \
+ DOC_MODULE=${PF} \
+ TARGET_DIR=/usr/share/doc/${PF}/html \
+ install || die
+
+ # This link must be fixed
+ rm ${D}/usr/include/gnome-xml/libxml
+ dosym /usr/include/gnome-xml /usr/include/gnome-xml/libxml
+
+ dodoc AUTHORS COPYING* ChangeLog NEWS README
+}
+
+pkg_preinst() {
+ if [ -e ${ROOT}/usr/include/gnome-xml/libxml ]
+ then
+ rm -f ${ROOT}/usr/include/gnome-xml/libxml
+ fi
+}
+