/[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 - (hide annotations) (download)
Tue Jun 8 21:04:55 2004 UTC (15 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
clean out older ebuilds

1 mr_bones_ 1.11 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 vapier 1.6 # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.12 # $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 ashmodai 1.1
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 seemant 1.3 DEPEND="dev-libs/gmp
10     virtual/glibc
11     virtual/linux-sources"
12 ashmodai 1.1 LICENSE="GPL-2"
13     RDEPEND=""
14     SLOT="0"
15 weeve 1.9 KEYWORDS="x86 -sparc "
16 ashmodai 1.1
17     pkg_setup() {
18 seemant 1.3 [ -d /usr/src/linux/net/ipsec ] || {
19 ashmodai 1.1 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 msterret 1.10 echo kernel compatibility. Please emerge sys-kernel/crypto-sources,
22 ashmodai 1.1 echo compile an IPSec-enabled kernel and attempt this ebuild again.
23     exit 1
24     }
25     }
26    
27     src_compile() {
28 ashmodai 1.2
29 seemant 1.3 patch -p1 < ${FILESDIR}/freeswan-libdes-location.patch || die
30 ashmodai 1.1
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 msterret 1.10
43 ashmodai 1.1 # 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