]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - bind/bind.nm
Move all packages to root.
[people/ms/ipfire-3.x.git] / bind / bind.nm
diff --git a/bind/bind.nm b/bind/bind.nm
new file mode 100644 (file)
index 0000000..4daec6d
--- /dev/null
@@ -0,0 +1,50 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = bind
+version    = 9.7.2-P3
+release    = 1
+
+groups     = Networking/Tools
+url        = http://www.isc.org/products/BIND/
+license    = Proprietary
+summary    = BIND provides tools for the DNS.
+
+description
+       BIND (Berkeley Internet Name Domain or named) is the most commonly used
+       DNS server on the Internet, especially on Unix-like systems.
+end
+
+source_dl  = ftp://ftp.isc.org/isc/bind/%{version}/
+
+build
+       requires
+               db4-devel
+               openssl-devel
+       end
+
+       build
+               ./configure \
+                       --prefix=/usr \
+                       --mandir=/usr/share/man
+
+               make -C lib/dns #%{PARALLELISMFLAGS}
+               make -C lib/isc #%{PARALLELISMFLAGS}
+               make -C lib/bind9 #%{PARALLELISMFLAGS}
+               make -C lib/isccfg #%{PARALLELISMFLAGS}
+               make -C lib/lwres #%{PARALLELISMFLAGS}
+               make -C bin/dig #%{PARALLELISMFLAGS}
+       end
+
+       install
+               make -C bin/dig install DESTDIR=%{BUILDROOT}
+       end
+end
+
+packages
+       package %{name}-utils
+               template MAIN
+       end
+end