/[gentoo-x86]/net-analyzer/cryptcat/cryptcat-1.2.1-r1.ebuild
Gentoo

Contents of /net-analyzer/cryptcat/cryptcat-1.2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jul 29 17:24:22 2012 UTC (2 years, 4 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Drop sparc keywords

(Portage version: 2.1.11.5/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/cryptcat/cryptcat-1.2.1-r1.ebuild,v 1.4 2012/06/14 03:13:41 jdhore Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="netcat clone extended with twofish encryption"
9 HOMEPAGE="http://farm9.org/Cryptcat/"
10 SRC_URI="mirror://sourceforge/${PN}/${PN}-unix-${PV}.tar"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
15 IUSE=""
16
17 S=${WORKDIR}/unix
18
19 src_prepare() {
20 epatch "${FILESDIR}"/${P}-build.patch
21 echo "#define arm arm_timer" >> generic.h
22 sed -i \
23 -e 's:#define HAVE_BIND:#undef HAVE_BIND:' \
24 -e '/^#define FD_SETSIZE 16/s:16:1024:' \
25 -e 's:\<LINUX\>:__linux__:' \
26 netcat.c generic.h
27 tc-export CC CXX
28 }
29
30 src_install() {
31 dobin cryptcat
32 dodoc Changelog README README.cryptcat netcat.blurb
33 }

  ViewVC Help
Powered by ViewVC 1.1.20