diff options
Diffstat (limited to 'dev-libs/libhtmlparse/libhtmlparse-0.1.12.ebuild')
-rw-r--r-- | dev-libs/libhtmlparse/libhtmlparse-0.1.12.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/libhtmlparse/libhtmlparse-0.1.12.ebuild b/dev-libs/libhtmlparse/libhtmlparse-0.1.12.ebuild new file mode 100644 index 000000000000..b6310a5e9d06 --- /dev/null +++ b/dev-libs/libhtmlparse/libhtmlparse-0.1.12.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhtmlparse/libhtmlparse-0.1.12.ebuild,v 1.1 2003/01/02 03:11:15 mkennedy Exp $ + +DESCRIPTION="libhtmlparse is a HTML parsing library. It takes HTML tags, text, etc and calls callbacks you define for each type of token in the document." +HOMEPAGE="http://msalem.translator.cx/libhtmlparse.html" +SRC_URI="http://msalem.translator.cx/dist/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="virtual/glibc" + +S=${WORKDIR}/${P} + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS BUGS COPYING INSTALL ChangeLog NEWS README TODO +} |