/[gentoo-x86]/net-misc/uftp/uftp-3.7.1.ebuild
Gentoo

Contents of /net-misc/uftp/uftp-3.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jan 23 07:14:45 2013 UTC (6 years, 10 months ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Version bump, wrt bug #452712. Thanks to Azamat Hackimov

(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Encrypted UDP based FTP with multicast"
10 HOMEPAGE="http://www.tcnj.edu/~bush/uftp.html"
11 SRC_URI="http://www.tcnj.edu/~bush/downloads/${P}.tar"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+server ssl"
17
18 DEPEND="ssl? ( dev-libs/openssl )"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 epatch "${FILESDIR}/${PN}-3.7_makefile.patch"
23 }
24
25 src_compile() {
26 use ssl || local opt="NO_ENCRYPTION=1"
27 emake CC=$(tc-getCC) $opt uftp uftp_keymgt
28 use server && emake CC=$(tc-getCC) $opt uftpd uftpproxyd
29 }
30
31 src_install() {
32 dobin uftp uftp_keymgt
33 dodoc ReadMe.txt
34 doman uftp.1 uftp_keymgt.1
35
36 if use server ; then
37 dosbin uftpd uftpproxyd
38 newinitd "${FILESDIR}/uftpd.init" uftpd
39 newconfd "${FILESDIR}/uftpd.conf" uftpd
40 newinitd "${FILESDIR}/uftpproxyd.init" uftpproxyd
41 newconfd "${FILESDIR}/uftpproxyd.conf" uftpproxyd
42 doman uftpd.1 uftpproxyd.1
43 insinto /etc/logrotate.d
44 newins "${FILESDIR}/logrotate" uftpd
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20