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