]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - openl2tp/openl2tp.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / openl2tp / openl2tp.nm
CommitLineData
589a3454 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
589a3454
MT
4###############################################################################
5
802ea3af
MT
6name = openl2tp
7version = 1.7
8release = 1
9
10groups = Networking/PPP
11url = http://www.openl2tp.org/
12license = GPL
13summary = A Linux L2TP solution for enterprise VPN and ISPs.
14
15description
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
589a3454 21 by corporations to implement L2TP VPNs.
802ea3af 22end
589a3454 23
802ea3af 24source_dl =
589a3454 25
802ea3af
MT
26build
27 requires
28 bison
29 flex
30 flex-devel
31 readline-devel
32 tcl
33 end
589a3454 34
802ea3af 35 CFLAGS += -fno-strict-aliasing
589a3454 36
802ea3af
MT
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
589a3454
MT
45
46# This doesn't really a good testing
802ea3af
MT
47#define test
48# cd %{DIR_APP} && make test
589a3454
MT
49#endef
50
802ea3af
MT
51 install
52 make install DESTDIR=%{BUILDROOT} \
53 KERNEL_SRCDIR="/usr" PPPD_VERSION="2.4.5"
54 end
55end
56
57packages
58 package %{name}
1f9bc2f0
MT
59
60 package %{name}-debuginfo
61 template DEBUGINFO
62 end
802ea3af 63end