]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/polkit/polkit.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / polkit / polkit.nm
index 6177047e793af5912310bb8af0a847233cb27943..ac0e039169c60c095f30b2883d3ce7fb6a6e9a14 100644 (file)
@@ -1,59 +1,54 @@
 ###############################################################################
-#                                                                             #
-# 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       = polkit
-PKG_VER        = 0.96
-PKG_REL        = 0
-
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://www.freedesktop.org/wiki/Software/PolicyKit
-PKG_LICENSE    = LGPLv2+
-PKG_SUMMARY    = PolicyKit Authorization Framework.
+name       = polkit
+version    = 0.96
+release    = 1
 
-PKG_BUILD_DEPS+= eggdbus-devel expat-devel \
-       intltool gettext glib2-devel pam-devel perl-XML-Parser pkg-config
+groups     = System/Libraries
+url        = http://www.freedesktop.org/wiki/Software/PolicyKit
+license    = LGPLv2+
+summary    = PolicyKit Authorization Framework.
 
-define PKG_DESCRIPTION
-       PolicyKit is a toolkit for defining and handling authorizations. \
-       It is used for allowing unprivileged processes to speak to privileged \
+description
+       PolicyKit is a toolkit for defining and handling authorizations.
+       It is used for allowing unprivileged processes to speak to privileged
        processes.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.gz
-
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
-CONFIGURE_OPTIONS += \
-       --sysconfdir=/etc \
-       --libexecdir=/usr/lib/polkit-1 \
-       --localstatedir=/var \
-       --disable-introspection \
-       --disable-static
-
-define STAGE_PREPARE_CMDS
-       cd $(DIR_APP) && sed -e "s/^SUBDIRS.*/SUBDIRS = actions data src po/" -i Makefile*
-endef
+end
+
+source_dl  =
+
+build
+       requires
+               eggdbus-devel
+               expat-devel
+               intltool
+               gettext
+               glib2-devel
+               pam-devel
+               perl-XML-Parser
+               pkg-config
+       end
+
+       configure_options += \
+               --sysconfdir=/etc \
+               --libexecdir=/usr/lib/polkit-1 \
+               --localstatedir=/var \
+               --disable-introspection \
+               --disable-static
+
+       prepare_cmds
+               sed -e "s/^SUBDIRS.*/SUBDIRS = actions data src po/" -i Makefile*
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end