blob: 9fc47fa8ce06349ffd93159307be24827b0fc8cb (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libhtmlparse/libhtmlparse-0.1.13.ebuild,v 1.4 2014/03/10 10:47:39 ssuominen Exp $
DESCRIPTION="HTML parsing library. It takes HTML tags, text, and calls callbacks for each type of token"
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=""
src_unpack() {
cd "${WORKDIR}"
# for some reason, we get a "this does not look like a tar archive" error
# but the following works... go figure.
gunzip -c "${DISTDIR}"/${P}.tar.gz > ${P}.tar
tar xf ${P}.tar || die "failed to unpack ${P}.tar"
rm ${P}.tar
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AUTHORS BUGS INSTALL ChangeLog NEWS README TODO
}
|