blob: a524c18c94385cc6e08aad6d46f9a6244e767972 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/atftp/atftp-0.7.ebuild,v 1.5 2004/07/15 02:38:43 agriffis Exp $
DESCRIPTION="Advanced TFTP implementation client/server"
HOMEPAGE="ftp://ftp.mamalinux.com/pub/atftp/"
SRC_URI="ftp://ftp.mamalinux.com/pub/atftp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc"
IUSE="tcpd"
DEPEND="tcpd? ( sys-apps/tcp-wrappers )
!virtual/tftp"
PROVIDE="virtual/tfp"
src_compile () {
econf `use_enable tcpd libwrap` || die "./configure failed"
sed -i \
-e "/^CFLAGS =/s:-g::" \
-e "/^CFLAGS =/s:-O2::" \
-e "/^CFLAGS =/s:$: ${CFLAGS}:" \
Makefile
emake || die
}
src_install() {
einstall || die "Installation failed"
exeinto /etc/init.d
newexe ${FILESDIR}/atftp.init atftp
insinto /etc/conf.d
newins ${FILESDIR}/atftp.confd atftp
}
|