Magellan Linux

Annotation of /trunk/extras/ipsec-tools/ipsec-tools-0.7-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1341 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/ipsec-tools/ipsec-tools-0.7-r2.smage2,v 1.1 2008/08/17 09:21:31 niro Exp $
2    
3     PNAME="ipsec-tools"
4     PVER="0.7"
5     PBUILD="r2"
6    
7     PCATEGORIE="net-vpn"
8     STATE="unstable"
9    
10     DESCRIPTION="IPsec-Tools is a port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation."
11     HOMEPAGE="http://ipsec-tools.sourceforge.net/"
12    
13     DEPEND=">= virtual/glibc
14     >= dev-libs/openssl-0.9.8
15     >= sys-libs/pam-0.99
16     >= sys-libs/readline-5.2"
17    
18     SDEPEND=">= virtual/kernel-sources
19     >= sys-dev/flex"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.bz2"
22     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23    
24     sminclude mtools
25    
26     SRC_URI=(
27     sourceforge://${PNAME}/${SRCFILE}
28     mirror://${PNAME}/${SRCFILE}
29     )
30    
31     src_prepare()
32     {
33     munpack ${SRCFILE} || die
34     cd ${SRCDIR}
35    
36     # fixes compilation with linux-libc-headers
37     sed -i 's:@INCLUDE_GLIBC@::g' src/Makefile.am || die
38     sed -i 's:-Werror::' configure.ac || die
39     ./bootstrap || die
40     }
41    
42     src_compile()
43     {
44     cd ${SRCDIR}
45    
46     mconfigure \
47     --with-openssl=/usr \
48     --with-libpam=/usr \
49     --with-flex \
50     --with-readline \
51     --enable-hybrid \
52     --enable-dpd \
53     --enable-natt \
54     --enable-adminport \
55     --enable-frag \
56     --enable-idea \
57     --enable-rc5 \
58     --enable-ipv6 \
59     --disable-security-context \
60     || die
61    
62     mmake -j1 || die
63     }
64    
65     src_install()
66     {
67     cd ${SRCDIR}
68     mmake DESTDIR=${BINDIR} install || die
69     minstalldocs ChangeLog NEWS README || die
70     }

Properties

Name Value
svn:keywords Id