wok-6.x diff polkit-pam/receipt @ rev 12495
Add lingio to dbus-python and glib-dev deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 24 15:46:04 2012 +0200 (2012-04-24) |
parents | |
children | 36a438c097dc |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/polkit-pam/receipt Tue Apr 24 15:46:04 2012 +0200 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="polkit-pam" 1.7 +VERSION="0.104" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Polkit with PAM support." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +SOURCE="polkit" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" 1.14 +WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" 1.15 +PROVIDES="polkit" 1.16 + 1.17 +DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat pam" 1.18 +BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ 1.19 +dbus-glib-dev expat-dev pam-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cd $src 1.25 + ./configure \ 1.26 + --prefix=/usr \ 1.27 + --sysconfdir=/etc \ 1.28 + --localstatedir=/var \ 1.29 + --libexecdir=/usr/lib/polkit-1 \ 1.30 + --disable-man-pages \ 1.31 + --disable-gtk-doc \ 1.32 + --with-authfw=pam \ 1.33 + $CONFIGURE_ARGS && 1.34 + make && make install 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/usr/lib $fs/usr/share 1.41 + cp -a $install/usr/bin $fs/usr 1.42 + cp -a $install/etc $fs 1.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 + cp -a $install/usr/lib/polkit-1 $fs/usr/lib 1.45 + rm $fs/usr/lib/polkit-1/extensions/*.*a 1.46 + cp -a $install/usr/share/dbus-1 $fs/usr/share 1.47 + cp -a $install/usr/share/polkit-1 $fs/usr/share 1.48 + cp -a $install/var $fs 1.49 +}