blob: 38caf50fe4654f21873609fb211ef02401dac716 (
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
42
43
44
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-libs/pwdb/pwdb-0.61-r1.ebuild,v 1.5 2000/11/07 11:16:08 achim Exp $
P=pwdb-0.61
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Password Database"
SRC_URI="ftp://gentoolinux.sourceforge.net/pub/gentoolinux/current/distfiles/${A}"
DEPEND=">=sys-libs/glibc-2.1.3"
RDEPEND=$DEPEND
src_unpack () {
mkdir ${S}
cd ${S}
unpack ${A}
}
src_compile() {
cd ${S}
cp Makefile Makefile.orig
sed -e "s/^DIRS = .*/DIRS = libpwdb/" Makefile.orig > Makefile
try make
}
src_install() {
cd ${S}
into /usr
dodir /usr/include/pwdb
dodir /usr/lib
dodoc doc/pwdb.txt CHANGES Copyright CREDITS README
docinto html
dodoc doc/html/*
insinto /etc
doins conf/pwdb.conf
try make INCLUDED=${D}/usr/include/pwdb LIBDIR=${D}/usr/lib install
preplib /usr
}
|