]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pptp/pptp.nm
Merge remote-tracking branch 'stevee/compat-packages'
[people/ms/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 = 2
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/^IP.*/IP=\/sbin\/ip/"
35 end
36
37 install_cmds
38 rm -rvf %{BUILDROOT}/etc
39 end
40 end
41
42 packages
43 package %{name}
44 requires
45 iproute2
46 end
47 end
48
49 package %{name}-debuginfo
50 template DEBUGINFO
51 end
52 end