/[gentoo-x86]/dev-libs/libhtmlparse/libhtmlparse-0.1.13.ebuild
Gentoo

Contents of /dev-libs/libhtmlparse/libhtmlparse-0.1.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Mar 10 10:51:10 2014 UTC (5 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libhtmlparse/libhtmlparse-0.1.13.ebuild,v 1.4 2014/03/10 10:47:39 ssuominen Exp $
4
5 DESCRIPTION="HTML parsing library. It takes HTML tags, text, and calls callbacks for each type of token"
6 HOMEPAGE="http://msalem.translator.cx/libhtmlparse.html"
7 SRC_URI="http://msalem.translator.cx/dist/${P}.tar.gz"
8
9 LICENSE="LGPL-2.1"
10 SLOT="0"
11 KEYWORDS="x86"
12 IUSE=""
13
14 src_unpack() {
15 cd "${WORKDIR}"
16 # for some reason, we get a "this does not look like a tar archive" error
17 # but the following works... go figure.
18 gunzip -c "${DISTDIR}"/${P}.tar.gz > ${P}.tar
19 tar xf ${P}.tar || die "failed to unpack ${P}.tar"
20 rm ${P}.tar
21 }
22
23 src_install() {
24 make DESTDIR="${D}" install || die
25 dodoc AUTHORS BUGS INSTALL ChangeLog NEWS README TODO
26 }

  ViewVC Help
Powered by ViewVC 1.1.20