wok-current view lxpolkit/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
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 }