wok annotate mate-polkit/receipt @ rev 25074
Add python-ipaddress
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 13 19:39:39 2022 +0000 (2022-06-13) |
parents | 4552ae99ebc7 |
children | 73f36875e5a7 |
rev | line source |
---|---|
yuripourre@16991 | 1 # SliTaz package receipt. |
yuripourre@16991 | 2 |
yuripourre@16991 | 3 PACKAGE="mate-polkit" |
yuripourre@16991 | 4 VERSION="1.9.0" |
yuripourre@16991 | 5 CATEGORY="utilities" |
yuripourre@16991 | 6 LICENSE="GPL3" |
yuripourre@16991 | 7 SHORT_DESC="PolicyKit integration for the MATE desktop." |
yuripourre@16991 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16991 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@16991 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@16991 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@18280 | 12 TAGS="MATE" |
yuripourre@16991 | 13 DEPENDS="gtk+ polkit" |
yuripourre@16991 | 14 BUILD_DEPENDS="wget cacerts autoconf automake libtool itstool \ |
pascal@19815 | 15 gtk+-dev gtk-doc polkit-dev gobject-introspection-dev mate-common-dev \ |
pascal@19815 | 16 expat-dev" |
yuripourre@16991 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
yuripourre@16991 | 24 # Rules to configure and make the package. |
yuripourre@16991 | 25 compile_rules() |
yuripourre@16991 | 26 { |
yuripourre@16991 | 27 ./autogen.sh \ |
yuripourre@16991 | 28 --prefix=/usr \ |
yuripourre@16991 | 29 --libexecdir=/usr/lib/$PACKAGE \ |
yuripourre@16991 | 30 --sysconfdir=/etc \ |
yuripourre@16991 | 31 --localstatedir=/var \ |
yuripourre@16991 | 32 --with-gtk=2.0 \ |
yuripourre@16991 | 33 --enable-introspection \ |
yuripourre@16991 | 34 --disable-static \ |
yuripourre@16991 | 35 $CONFIGURE_ARGS && |
yuripourre@16991 | 36 make && |
yuripourre@16991 | 37 make DESTDIR=$DESTDIR install |
yuripourre@16991 | 38 } |
yuripourre@16991 | 39 |
yuripourre@16991 | 40 genpkg_rules() |
yuripourre@16991 | 41 { |
yuripourre@16991 | 42 mkdir -p $fs/usr/lib |
yuripourre@16991 | 43 cp -a $install/etc $fs |
yuripourre@16991 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@16991 | 45 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib/$PACKAGE |
yuripourre@16991 | 46 } |