wok-current view lxpolkit/receipt @ rev 24263
updated perl-time-hires (1.9760 -> 1.9764)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:20:35 2022 +0100 (2022-01-02) |
parents | 1bbeef6dd358 |
children | 73f36875e5a7 |
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="http://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 }