]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - openl2tp/openl2tp.nm
38ce8eaf3aecea2f3e84b7a78b259ec973f3537e
[people/amarx/ipfire-3.x.git] / openl2tp / openl2tp.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = openl2tp
7 version = 1.7
8 release = 1
9
10 groups = Networking/PPP
11 url = http://www.openl2tp.org/
12 license = GPL
13 summary = A Linux L2TP solution for enterprise VPN and ISPs.
14
15 description
16 OpenL2TP is an open source L2TP client / server, written specifically
17 for Linux. It has been designed for use as an enterprise L2TP VPN
18 server or in commercial, Linux-based, embedded networking products and
19 is able to support hundreds of sessions, each with different
20 configuration. It is used by several ISPs to provide L2TP services and
21 by corporations to implement L2TP VPNs.
22 end
23
24 source_dl =
25
26 build
27 requires
28 bison
29 flex
30 flex-devel
31 readline-devel
32 tcl
33 end
34
35 CFLAGS += -fno-strict-aliasing
36
37 prepare_cmds
38 sed -e "s/-lfl/&_pic/g" -i Makefile
39 end
40
41 build
42 make OPT_CFLAGS="%{CFLAGS}" \
43 KERNEL_SRCDIR="/usr" PPPD_VERSION="2.4.5"
44 end
45
46 # This doesn't really a good testing
47 #define test
48 # cd %{DIR_APP} && make test
49 #endef
50
51 install
52 make install DESTDIR=%{BUILDROOT} \
53 KERNEL_SRCDIR="/usr" PPPD_VERSION="2.4.5"
54 end
55 end
56
57 packages
58 package %{name}
59 end