]> git.ipfire.org Git - ipfire-3.x.git/blob - pptp/pptp.nm
python-lxml: Update to 4.2.5
[ipfire-3.x.git] / pptp / pptp.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pptp
7 version = 1.7.2
8 release = 3
9
10 groups = Networking/Dialin
11 url = http://pptpclient.sourceforge.net/
12 license = GPLv2+
13 summary = Point-to-Point Tunneling Protocol (PPTP) Client.
14
15 description
16 Client for the proprietary Microsoft Point-to-Point Tunneling
17 Protocol, PPTP. Allows connection to a PPTP based VPN as used
18 by employers and some cable and ADSL service providers.
19 end
20
21 source_dl =
22 sources = %{thisapp}.tar.gz
23
24 build
25 requires
26 perl
27 ppp-devel
28 end
29
30 prepare_cmds
31 sed -i Makefile \
32 -e "s/install -o root -m 555 pptp/install -m 755 pptp/" \
33 -e "s/^OPTIMIZE=.*/OPTIMIZE=%{CFLAGS}/" \
34 -e "s/^LDFLAGS =/LDFLAGS=%{LDFLAGS}/" \
35 -e "s/^IP.*/IP=\/sbin\/ip/"
36 end
37
38 install_cmds
39 rm -rvf %{BUILDROOT}/etc
40 end
41 end
42
43 packages
44 package %{name}
45 requires
46 iproute2
47 end
48 end
49
50 package %{name}-debuginfo
51 template DEBUGINFO
52 end
53 end