]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
tunctl: Build manpages with docbook.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 18 Oct 2011 18:14:02 +0000 (20:14 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 18 Oct 2011 18:14:02 +0000 (20:14 +0200)
tunctl/tunctl.nm

index a57f1a387381457c110b5147efc16bb22e30c40c..21c542c3094b50bd86aae247165d06c7b17d257d 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = tunctl
 version    = 1.5
-release    = 1
+release    = 2
 
 groups     = Networking/Tools
 url        = http://tunctl.sourceforge.net/
@@ -22,19 +22,15 @@ end
 
 source_dl  = http://sourceforge.net/projects/tunctl/files/tunctl/%{version}/%{sources}/download
 
-# XXX needs docbook for man page
-
 build
+       requires
+               docbook-utils
+       end
+
        prepare_cmds
                sed -e "s/^CFLAGS.*/CFLAGS = %{CFLAGS}/" -i Makefile
        end
 
-       make_build_targets = tunctl CC=gcc
-
-       install
-               mkdir -pv %{BUILDROOT}/usr/sbin
-               install -m 755 tunctl %{BUILDROOT}/usr/sbin
-       end
 end
 
 packages