/[gentoo-x86]/net-misc/freeswan/freeswan-1.97.ebuild
Gentoo

Contents of /net-misc/freeswan/freeswan-1.97.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Jun 8 21:04:55 2004 UTC (15 years, 7 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
clean out older ebuilds

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/freeswan-1.97.ebuild,v 1.11 2004/02/21 08:20:09 mr_bones_ Exp $
4
5 S=${WORKDIR}/freeswan-1.97
6 DESCRIPTION="FreeS/WAN IPSec Userspace Utilities"
7 SRC_URI="ftp://ftp.xs4all.nl/pub/crypto/freeswan/${P}.tar.gz"
8 HOMEPAGE="http://www.freeswan.org"
9 DEPEND="dev-libs/gmp
10 virtual/glibc
11 virtual/linux-sources"
12 LICENSE="GPL-2"
13 RDEPEND=""
14 SLOT="0"
15 KEYWORDS="x86 -sparc "
16
17 pkg_setup() {
18 [ -d /usr/src/linux/net/ipsec ] || {
19 echo You need to have the crypto-enabled version of Gentoo Sources
20 echo with a symlink to it in /usr/src/linux in order to have IPSec
21 echo kernel compatibility. Please emerge sys-kernel/crypto-sources,
22 echo compile an IPSec-enabled kernel and attempt this ebuild again.
23 exit 1
24 }
25 }
26
27 src_compile() {
28
29 patch -p1 < ${FILESDIR}/freeswan-libdes-location.patch || die
30
31 make \
32 DESTDIR=${D} \
33 USERCOMPILE="${CFLAGS}" \
34 FINALCONFDIR=/etc/ipsec \
35 INC_RCDEFAULT=/etc/init.d \
36 INC_USRLOCAL=/usr \
37 INC_MANDIR=share/man \
38 confcheck programs || die
39 }
40
41 src_install () {
42
43 # try make prefix=${D}/usr install
44
45 make \
46 DESTDIR=${D} \
47 USERCOMPILE="${CFLAGS}" \
48 FINALCONFDIR=/etc/ipsec \
49 INC_RCDEFAULT=/etc/init.d \
50 INC_USRLOCAL=/usr \
51 INC_MANDIR=share/man \
52 install || die
53
54 dodoc INSTALL COPYING CREDITS BUGS CHANGES README doc/*
55 }
56

  ViewVC Help
Powered by ViewVC 1.1.20