X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pkgs%2Fpolkit%2Fpolkit.nm;h=ac0e039169c60c095f30b2883d3ce7fb6a6e9a14;hb=802ea3af55e3167b6574e23b230cdbf0ed2ae0db;hp=6177047e793af5912310bb8af0a847233cb27943;hpb=f0b55c28746b56de89d7a10a4ad0ad2a4939baac;p=ipfire-3.x.git diff --git a/pkgs/polkit/polkit.nm b/pkgs/polkit/polkit.nm index 6177047e7..ac0e03916 100644 --- a/pkgs/polkit/polkit.nm +++ b/pkgs/polkit/polkit.nm @@ -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 . # -# # +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # ############################################################################### -############################################################################### -# 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