blob: 64942c9e93decd3904cc22f973664c5a3cc96e71 (
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
45
46
47
48
49
|
# 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/net-ftp/proftpd/proftpd-1.2.0_rc2-r1.ebuild,v 1.3 2000/09/20 20:04:53 achim Exp $
P=proftpd-1.2.0rc2
A="${P}.tar.gz"
S=${WORKDIR}/${P}
DESCRIPTION="proftpd."
SRC_URI="ftp://ftp.nl.uu.net/pub/unix/ftp/proftpd/${P}.tar.gz"
HOMEPAGE="http://www.proftpd.net/"
src_unpack() {
unpack ${A}
}
src_compile() {
LDFLAGS="-Lssl" CFLAGS="$CFLAGS -I/usr/include/mysql" try ./configure --host=${CHOST} --prefix=/usr --sbindir=/usr/sbin \
--sysconfdir=/etc --localstatedir=/var/run --mandir=/usr/man \
--with-modules=mod_ldap:mod_ratio:mod_readme:mod_linuxprivs:mod_mysql:mod_sqlpw:mod_pam \
--disable-sendfile --enable-shadow --enable-autoshadow
try make clean
try make
}
src_install() {
try make install prefix=${D}/usr sysconfdir=${D}/etc/proftp mandir=${D}/usr/man \
localstatedir=${D}/var/run sbindir=${D}/usr/sbin
prepman
cd ${S}
into /usr
dobin contrib/genuser.pl
dodoc COPYING CREDITS ChangeLog NEWS
dodoc README*
cd doc
dodoc API Changes-1.2.0pre3 license.txt GetConf ShowUndocumented
dodoc Undocumented.txt development.notes
docinto html
dodoc *.html
docinto rfc
dodoc rfc/*.txt
cp ${O}/files/proftpd.conf ${D}/etc/proftp
}
|