wok-next annotate polkit-pam/receipt @ rev 13892
cookutils: get tarball from hg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 17 22:23:35 2013 +0100 (2013-01-17) |
parents | 3c2bd4920bdb |
children | a00bf44ed23d |
rev | line source |
---|---|
pankso@12473 | 1 # SliTaz package receipt. |
pankso@12473 | 2 |
pankso@12473 | 3 PACKAGE="polkit-pam" |
pankso@12473 | 4 VERSION="0.104" |
pankso@12473 | 5 CATEGORY="base-system" |
pankso@12473 | 6 SHORT_DESC="Polkit with PAM support." |
pankso@12473 | 7 MAINTAINER="slaxemulator@gmail.com" |
pankso@12473 | 8 SOURCE="polkit" |
pankso@12473 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@12473 | 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" |
pankso@12473 | 11 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pascal@13024 | 12 PROVIDE="polkit" |
pankso@12473 | 13 |
pankso@12473 | 14 DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat pam" |
pankso@12473 | 15 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ |
pankso@12473 | 16 dbus-glib-dev expat-dev pam-dev" |
pankso@12473 | 17 |
pankso@12473 | 18 # Rules to configure and make the package. |
pankso@12473 | 19 compile_rules() |
pankso@12473 | 20 { |
pankso@12473 | 21 cd $src |
pankso@12473 | 22 ./configure \ |
pankso@12473 | 23 --prefix=/usr \ |
pankso@12473 | 24 --sysconfdir=/etc \ |
pankso@12473 | 25 --localstatedir=/var \ |
pankso@12473 | 26 --libexecdir=/usr/lib/polkit-1 \ |
pankso@12473 | 27 --disable-man-pages \ |
pankso@12473 | 28 --disable-gtk-doc \ |
pankso@12473 | 29 --with-authfw=pam \ |
pankso@12473 | 30 $CONFIGURE_ARGS && |
pankso@12473 | 31 make && make install |
pankso@12473 | 32 } |
pankso@12473 | 33 |
pankso@12473 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12473 | 35 genpkg_rules() |
pankso@12473 | 36 { |
pankso@12473 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12473 | 38 cp -a $install/usr/bin $fs/usr |
pankso@12473 | 39 cp -a $install/etc $fs |
pankso@12473 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12473 | 41 cp -a $install/usr/lib/polkit-1 $fs/usr/lib |
pankso@12473 | 42 rm $fs/usr/lib/polkit-1/extensions/*.*a |
pankso@12473 | 43 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12473 | 44 cp -a $install/usr/share/polkit-1 $fs/usr/share |
pankso@12473 | 45 cp -a $install/var $fs |
pankso@12473 | 46 } |