]> git.ipfire.org Git - ipfire-3.x.git/blob - pkgs/tunctl/tunctl.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / tunctl / tunctl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = tunctl
7 version = 1.5
8 release = 1
9
10 groups = Networking/Tools
11 url = http://tunctl.sourceforge.net/
12 license = GPL+
13 summary = Create and remove virtual network interfaces.
14
15 description
16 tunctl is a tool to set up and maintain persistent TUN/TAP network
17 interfaces, enabling user applications access to the wire side of a
18 virtual nework interface. Such interfaces is useful for connecting VPN
19 software, virtualization, emulation and a number of other similar
20 applications to the network stack.
21 end
22
23 source_dl = http://sourceforge.net/projects/tunctl/files/tunctl/%{version}/%{sources}/download
24
25 # XXX needs docbook for man page
26
27 build
28 prepare_cmds
29 sed -e "s/^CFLAGS.*/CFLAGS = %{CFLAGS}/" -i Makefile
30 end
31
32 make_build_targets = tunctl CC=gcc
33
34 install
35 mkdir -pv %{BUILDROOT}/usr/sbin
36 install -m 755 tunctl %{BUILDROOT}/usr/sbin
37 end
38 end
39
40 packages
41 package %{name}
42 end
43 end