blob: f23d0e86b21de8e848cf7945af03ebbd079c7b00 (
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
41
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-misc/tinyca/tinyca-0.3.4.ebuild,v 1.3 2002/07/11 06:30:16 drobbins Exp $
# This ebuild was generated by Ebuilder v0.4.
S="${WORKDIR}/TinyCA"
DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
SRC_URI="http://tinyca.sm-zone.net/${P}.tar.bz2"
HOMEPAGE="http://tinyca.sm-zone.net"
LICENSE="Artistic"
DEPEND=">=dev-libs/openssl-0.9.6b
>=dev-perl/MIME-Base64-2.12
>=dev-perl/perl-tk-800.024
>=dev-perl/OpenCA-OpenSSL-0.8.43
>=dev-perl/OpenCA-X509-0.9.8
>=dev-perl/OpenCA-CRL-0.7.61
>=dev-perl/OpenCA-REQ-0.7.35"
src_unpack() {
unpack ${A}
cd ${S}
# this app was written to be run from cwd and not meant to be installed
# this little hack fixes that... pretty silly if you ask me
cat tinyca | sed -e "s:\./lib:/usr/share/tinyca/lib:" \
-e "s:\./template:/usr/share/tinyca/template:" > tinyca
}
src_install () {
dodir /usr/bin
exeinto /usr/share/tinyca/
doexe tinyca
dosym /usr/share/tinyca/tinyca /usr/bin/tinyca
insinto /usr/share/tinyca/lib
doins lib/*
insinto /usr/share/tinyca/templates
doins templates/*
}
|