wok-current view lxpolkit/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents ee53899c6189
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lxpolkit"
4 VERSION="0.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE PolicyKit authentication agent"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/lxde/LXPolkit/$TARBALL"
11 WEB_SITE="https://blog.lxde.org/?p=674"
12 TAGS="LXDE"
14 DEPENDS="gtk+ polkit"
15 BUILD_DEPENDS="gtk+-dev polkit-dev"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/lxde/files/LXPolkit/ 2>/dev/null | \
20 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 --libexecdir=/usr/lib/lxde \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/etc $fs
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
40 }