blob: 35f7087326df4d84738923872c6da0d95d880058 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/htmlrecode/htmlrecode-1.2.0.ebuild,v 1.4 2006/03/16 14:31:21 ehmsen Exp $
DESCRIPTION="Recodes HTML file using a new character set"
HOMEPAGE="http://bisqwit.iki.fi/source/htmlrecode.html"
SRC_URI="http://bisqwit.iki.fi/src/arch/${P}.tar.bz2"
KEYWORDS="~x86 ~ppc"
LICENSE="GPL-2"
SLOT="0"
DEPEND="virtual/libc
>=sys-apps/sed-4"
RDEPEND="virtual/libc"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
-e "s:^\\(ARGHLINK.*-L.*\\):#\\1:" \
-e "s:^#\\(ARGHLINK=.*a\\)$:\\1:" \
Makefile
touch .depend argh/.depend
}
src_compile() {
emake -C argh libargh.a || die
emake htmlrecode || die
}
src_install() {
dobin htmlrecode
dodoc README.html
}
|