]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/network/network.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / network / network.nm
index d818cc4235846438f80c8f295ad65670a9d3c6f4..0207ff4808b3d2310af3b6d9808793201c70a0b9 100644 (file)
@@ -1,71 +1,56 @@
 ###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME       = network
-PKG_EPOCH      = 1
-PKG_VER        = 001
-PKG_REL        = 1
-PKG_ARCH       = noarch
+name       = network
+epoch      = 1
+version    = 001
+release    = 1
+arch       = noarch
 
-PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
-PKG_GROUPS     = Base Networking/Tools
-PKG_URL        = http://www.ipfire.org/
-PKG_LICENSE    = GPLv3+
-PKG_SUMMARY    = The IPFire Networking Scripts.
+maintainer = Michael Tremer <michael.tremer@ipfire.org>
+groups     = Base Networking/Tools
+url        = http://www.ipfire.org/
+license    = GPLv3+
+summary    = The IPFire Networking Scripts.
 
 # XXX maybe we can split this package into smaller ones like -wireless,
 # -dialup etc.
 
-PKG_BUILD_DEPS = $(PKG_DEPS)
-PKG_DEPS      += \
-       aiccu \
-       bash>=4.0 \
-       bridge-utils \
-       dhcp \
-       ebtables \
-       hostapd \
-       iproute2 \
-       ppp \
-       radvd \
-       rstp \
-       sqlite \
-       systemd-units \
-       tunctl \
-       vlan \
-       wpa_supplicant \
-       /bin/ipcalc \
-       /usr/bin/logger
-
-define PKG_DESCRIPTION
+description
        The scripts that are contained in this package are the heart of the
        IPFire networking. They control the configuration of the network
        zones, physical and virtual devices, handle hotplug events and
        everything.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-STAGE_BUILD = # Do nothing
+end
+
+source_dl  =
+
+build
+       build = # Do nothing
+end
+
+packages
+       package %{name}
+               requires
+                       aiccu
+                       bash>=4.0
+                       bridge-utils
+                       dhcp
+                       ebtables
+                       hostapd
+                       iproute2
+                       ppp
+                       radvd
+                       rstp
+                       sqlite
+                       systemd-units
+                       tunctl
+                       vlan
+                       wpa_supplicant
+                       /bin/ipcalc
+                       /usr/bin/logger
+               end
+       end
+end