summaryrefslogtreecommitdiff
blob: 5c8cc54951e785d0478b4c7a79ac3314384a105b (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
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-util/shc/shc-3.4.ebuild,v 1.2 2003/01/08 00:54:13 jmorgan Exp $

IUSE=""

DESCRIPTION="A (shell-) script compiler/scrambler."
SRC_URI="http://www.datsi.fi.upm.es/~frosal/sources/${P}.tgz"
HOMEPAGE="http://www.datsi.fi.upm.es/~frosal"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc ~sparc ~alpha"

DEPEND="virtual/glibc"

src_unpack() {
	unpack ${P}.tgz
	cd ${S}
}

src_compile() {
	## the "test"-target leads to an access-violation -> so we skip it
	## as it's only for demonstration purposes anyway.
	make shc || die
}

src_install () {
	exeinto /usr/bin
	doexe shc
	doman shc.1
	dodoc shc.README CHANGES
}