wok-6.x annotate polkit-pam/receipt @ rev 19913
Add python-gammu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 13 15:25:07 2017 +0200 (2017-04-13) |
parents | 36a438c097dc |
children | 241fb98cab1c |
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" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@12473 | 9 SOURCE="polkit" |
pankso@12473 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@12473 | 11 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" |
pankso@12473 | 12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pascal@13024 | 13 PROVIDE="polkit" |
pankso@12473 | 14 |
pankso@12473 | 15 DEPENDS="glib libgio gobject-introspection dbus dbus-glib expat pam" |
pankso@12473 | 16 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ |
pankso@12473 | 17 dbus-glib-dev expat-dev pam-dev" |
pankso@12473 | 18 |
pankso@12473 | 19 # Rules to configure and make the package. |
pankso@12473 | 20 compile_rules() |
pankso@12473 | 21 { |
pankso@12473 | 22 cd $src |
pankso@12473 | 23 ./configure \ |
pankso@12473 | 24 --prefix=/usr \ |
pankso@12473 | 25 --sysconfdir=/etc \ |
pankso@12473 | 26 --localstatedir=/var \ |
pankso@12473 | 27 --libexecdir=/usr/lib/polkit-1 \ |
pankso@12473 | 28 --disable-man-pages \ |
pankso@12473 | 29 --disable-gtk-doc \ |
pankso@12473 | 30 --with-authfw=pam \ |
pankso@12473 | 31 $CONFIGURE_ARGS && |
pankso@12473 | 32 make && make install |
pankso@12473 | 33 } |
pankso@12473 | 34 |
pankso@12473 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12473 | 36 genpkg_rules() |
pankso@12473 | 37 { |
pankso@12473 | 38 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@12473 | 39 cp -a $install/usr/bin $fs/usr |
pankso@12473 | 40 cp -a $install/etc $fs |
pankso@12473 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12473 | 42 cp -a $install/usr/lib/polkit-1 $fs/usr/lib |
pankso@12473 | 43 rm $fs/usr/lib/polkit-1/extensions/*.*a |
pankso@12473 | 44 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12473 | 45 cp -a $install/usr/share/polkit-1 $fs/usr/share |
pankso@12473 | 46 cp -a $install/var $fs |
pankso@12473 | 47 } |