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

Diff of /net-misc/freeswan/freeswan-2.01.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/Attic/freeswan-2.01.ebuild,v 1.1 2003/08/21 14:17:04 jhhudso Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/freeswan/Attic/freeswan-2.01.ebuild,v 1.2 2003/09/05 22:01:48 msterret Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7X509_PATCH=1.4.3 7X509_PATCH=1.4.3
8S=${WORKDIR}/${P} 8S=${WORKDIR}/${P}
10SRC_URI="ftp://ftp.xs4all.nl/pub/crypto/freeswan/${P}.tar.gz 10SRC_URI="ftp://ftp.xs4all.nl/pub/crypto/freeswan/${P}.tar.gz
11 http://www.strongsec.com/freeswan/x509-${X509_PATCH}-${P}.tar.gz" 11 http://www.strongsec.com/freeswan/x509-${X509_PATCH}-${P}.tar.gz"
12 12
13HOMEPAGE="http://www.freeswan.org" 13HOMEPAGE="http://www.freeswan.org"
14DEPEND="virtual/glibc 14DEPEND="virtual/glibc
15 virtual/linux-sources 15 virtual/linux-sources
16 >=dev-libs/gmp-3.1.1 16 >=dev-libs/gmp-3.1.1
17 net-misc/host" 17 net-misc/host"
18LICENSE="GPL-2" 18LICENSE="GPL-2"
19RDEPEND="" 19RDEPEND=""
20SLOT="0" 20SLOT="0"
21KEYWORDS="~x86 -sparc" 21KEYWORDS="~x86 -sparc"
22 22
23pkg_setup() { 23pkg_setup() {
24 [ -d /usr/src/linux/net/ipsec ] || { 24 [ -d /usr/src/linux/net/ipsec ] || {
25 echo You need to have the crypto-enabled version of Gentoo Sources 25 echo You need to have the crypto-enabled version of Gentoo Sources
26 echo with a symlink to it in /usr/src/linux in order to have IPSec 26 echo with a symlink to it in /usr/src/linux in order to have IPSec
27 echo kernel compatibility. Please emerge sys-kernel/crypto-sources, 27 echo kernel compatibility. Please emerge sys-kernel/crypto-sources,
28 echo compile an IPSec-enabled kernel and attempt this ebuild again. 28 echo compile an IPSec-enabled kernel and attempt this ebuild again.
29 exit 1 29 exit 1
30 } 30 }
31} 31}
32 32
33src_unpack() { 33src_unpack() {
34 unpack ${A} 34 unpack ${A}
54 INC_MANDIR=share/man \ 54 INC_MANDIR=share/man \
55 confcheck programs || die 55 confcheck programs || die
56} 56}
57 57
58src_install () { 58src_install () {
59 59
60 # try make prefix=${D}/usr install 60 # try make prefix=${D}/usr install
61 61
62 make \ 62 make \
63 DESTDIR=${D} \ 63 DESTDIR=${D} \
64 USERCOMPILE="${CFLAGS}" \ 64 USERCOMPILE="${CFLAGS}" \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20