wok-next annotate mate-polkit/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 757d032c55c7 |
children | 9102678083fb |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
yuripourre@16991 | 2 |
yuripourre@16991 | 3 PACKAGE="mate-polkit" |
al@20096 | 4 VERSION="1.18.1" |
al@20096 | 5 CATEGORY="security" |
al@20096 | 6 SHORT_DESC="Authentication Agent for PolicyKit and MATE" |
al@20096 | 7 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16991 | 8 LICENSE="GPL3" |
al@20096 | 9 WEB_SITE="https://github.com/mate-desktop/mate-polkit" |
al@20096 | 10 |
yuripourre@16991 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20096 | 12 WGET_URL="https://github.com/mate-desktop/mate-polkit/archive/v$VERSION.tar.gz" |
yuripourre@16991 | 13 |
al@20534 | 14 BUILD_DEPENDS="mate-common gtk-doc gtk+3-dev polkit-dev \ |
al@20534 | 15 gobject-introspection-dev" |
al@20096 | 16 SPLIT="mate-polkit-dev" |
al@20096 | 17 |
al@20096 | 18 compile_rules() { |
al@20096 | 19 ./autogen.sh \ |
yuripourre@16991 | 20 $CONFIGURE_ARGS && |
al@20534 | 21 fix libtool && |
yuripourre@16991 | 22 make && |
al@20096 | 23 make install |
yuripourre@16991 | 24 } |
yuripourre@16991 | 25 |
al@20096 | 26 genpkg_rules() { |
al@20096 | 27 case $PACKAGE in |
al@20096 | 28 mate-polkit) |
al@20096 | 29 copy @std |
al@20749 | 30 DEPENDS="gdk-pixbuf glib gtk+3 polkit" |
al@20096 | 31 ;; |
al@20096 | 32 *-dev) |
al@20096 | 33 copy @dev |
al@20749 | 34 DEPENDS="mate-polkit polkit-dev" # or polkit-pam-dev? why? |
al@20096 | 35 ;; |
al@20096 | 36 esac |
al@20096 | 37 TAGS="MATE" |
yuripourre@16991 | 38 } |