wok view mate-polkit/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | 73f36875e5a7 |
children |
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="https://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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh \
29 --prefix=/usr \
30 --libexecdir=/usr/lib/$PACKAGE \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --with-gtk=2.0 \
34 --enable-introspection \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/etc $fs
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib/$PACKAGE
47 }