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