]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/paxctl/paxctl.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / paxctl / paxctl.nm
index 855a2849eb6c8a964d2af1a9fe758ead0c611818..ed11ec4af73e70259b3a6b1a56f497d64be2439f 100644 (file)
@@ -1,48 +1,34 @@
 ###############################################################################
-#                                                                             #
-# 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       = paxctl
+version    = 0.5
+release    = 1
 
-PKG_NAME       = paxctl
-PKG_VER        = 0.5
-PKG_REL        = 0
+groups     = Applications/System
+url        = http://pax.grsecurity.net/
+license    = GPLv2
+summary    = Application to control PaX flags.
 
-PKG_MAINTAINER =
-PKG_GROUPS     = Applications/System
-PKG_URL        = http://pax.grsecurity.net/
-PKG_LICENSE    = GPLv2
-PKG_SUMMARY    = Application to control PaX flags.
+description
+       paxctl may be used to control PaX flags on a per-binary basis. PaX
+       is a set of kernel security patches to enhance a system's security.
+end
 
-PKG_BUILD_DEPS+= m4
+source_dl  =
 
-define PKG_DESCRIPTION
-       paxctl may be used to control PaX flags on a per-binary basis. PaX \
-       is a set of kernel security patches to enhance a system's security.
-endef
+build
+       requires
+               m4
+       end
 
-PKG_TARBALL    = $(THISAPP).tar.gz
+       build
+               make %{PARALLELISMFLAGS} CFLAGS="%{CFLAGS}"
+       end
+end
 
-define STAGE_BUILD
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS) CFLAGS="$(CFLAGS)"
-endef
+packages
+       package %{name}
+end