wok annotate mate-polkit/receipt @ rev 25776
Update thunderbird to 68.12.1 latest ESR work with old glibc, and block autoupdate
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 16 17:28:27 2024 +0200 (2 months ago) |
parents | 73f36875e5a7 |
children |
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" |
pascal@25540 | 10 WEB_SITE="https://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@25600 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
yuripourre@16991 | 25 # Rules to configure and make the package. |
yuripourre@16991 | 26 compile_rules() |
yuripourre@16991 | 27 { |
yuripourre@16991 | 28 ./autogen.sh \ |
yuripourre@16991 | 29 --prefix=/usr \ |
yuripourre@16991 | 30 --libexecdir=/usr/lib/$PACKAGE \ |
yuripourre@16991 | 31 --sysconfdir=/etc \ |
yuripourre@16991 | 32 --localstatedir=/var \ |
yuripourre@16991 | 33 --with-gtk=2.0 \ |
yuripourre@16991 | 34 --enable-introspection \ |
yuripourre@16991 | 35 --disable-static \ |
yuripourre@16991 | 36 $CONFIGURE_ARGS && |
yuripourre@16991 | 37 make && |
yuripourre@16991 | 38 make DESTDIR=$DESTDIR install |
yuripourre@16991 | 39 } |
yuripourre@16991 | 40 |
yuripourre@16991 | 41 genpkg_rules() |
yuripourre@16991 | 42 { |
yuripourre@16991 | 43 mkdir -p $fs/usr/lib |
yuripourre@16991 | 44 cp -a $install/etc $fs |
yuripourre@16991 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@16991 | 46 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib/$PACKAGE |
yuripourre@16991 | 47 } |