]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - pkgs/bridge-utils/bridge-utils.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / bridge-utils / bridge-utils.nm
index c82cb12b5944401d0e68e5c84a6e2d8a93789247..4f55a63404dc973d11b27be32b2445dca5d7243d 100644 (file)
@@ -1,58 +1,46 @@
 ###############################################################################
-#                                                                             #
-# 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       = bridge-utils
-PKG_VER        = 1.5
-PKG_REL        = 1
+name       = bridge-utils
+version    = 1.5
+release    = 1
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Networking/Tools
-PKG_URL        = http://bridge.sourceforge.net/
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = Utilities for configuring the linux ethernet bridge.
+groups     = Networking/Tools
+url        = http://bridge.sourceforge.net/
+license    = GPLv2+
+summary    = Utilities for configuring the linux ethernet bridge.
 
-PKG_BUILD_DEPS+= autoconf automake
-
-define PKG_DESCRIPTION
+description
        This package contains utilities for configuring the linux ethernet \
        bridge. The linux ethernet bridge can be used for connecting multiple \
        ethernet devices together. The connecting is fully transparent: hosts \
        connected to one ethernet device see hosts connected to the other \
        ethernet devices directly.
-endef
+end
+
+source_dl  = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
+
+build
+       requires
+               autoconf
+               automake
+       end
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+       configure_options += \
+               --sbindir=/sbin
 
-CONFIGURE_OPTIONS += \
-       --sbindir=/sbin
+       prepare_cmds
+               autoconf
+       end
 
-define STAGE_PREPARE_CMDS
-       cd $(DIR_APP) && autoconf
-endef
+       install_cmds
+               rm -rvf %{BUILDROOT}/usr/include
+       end
+end
 
-define STAGE_INSTALL_CMDS
-       rm -rvf $(BUILDROOT)/usr/include
-endef
+packages
+       package %{name}
+       end
+end