]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/l7-protocols/l7-protocols.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / l7-protocols / l7-protocols.nm
index d8bb40090c2d2055e023ef6b291b5819ce55d625..5be216acf41f36e3c1a028e43de2d948dd028827 100644 (file)
@@ -1,51 +1,38 @@
 ###############################################################################
-#                                                                             #
-# 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
+name       = l7-protocols
+version    = 2007-11-22
+release    = 1
 
-PKG_NAME       = l7-protocols
-PKG_VER        = 2007-11-22
-PKG_REL        = 0
+groups     = Networking/Firewall
+url        = http://l7-filter.sourceforge.net/
+license    = GPLv2+
+summary    = Application Layer Packet Classifier for Linux.
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Networking/Firewall
-PKG_URL        = http://l7-filter.sourceforge.net/
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = Application Layer Packet Classifier for Linux.
-
-define PKG_DESCRIPTION
+description
        L7-filter is a classifier for Linux's Netfilter that identifies packets \
        based on application layer data. It can classify packets as Kazaa, HTTP, \
        Jabber, Citrix, Bittorrent, FTP, Gnucleus, eDonkey2000, etc., regardless \
        of port.
-endef
+end
+
+source_dl  =
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+build
+       build
+               : # Do nothing
+       end
 
-STAGE_BUILD = # Do nothing
+       install
+               mkdir -p %{BUILDROOT}/etc/l7-protocols
+               cp -Rfv %{DIR_APP}/* %{BUILDROOT}/etc/l7-protocols
+       end
+end
 
-define STAGE_INSTALL
-       -mkdir -p $(BUILDROOT)/etc/l7-protocols
-       cp -Rfv $(DIR_APP)/* $(BUILDROOT)/etc/l7-protocols
-endef
+packages
+       package %{name}
+       end
+end