wok annotate lxappearance/receipt @ rev 25076

Up marlin (886)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 08:17:07 2022 +0000 (2022-06-14)
parents ee53899c6189
children 180119c209e8
rev   line source
pankso@510 1 # SliTaz package receipt.
pankso@510 2
pankso@510 3 PACKAGE="lxappearance"
pankso@19866 4 VERSION="0.6.3"
pankso@510 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="LXDE GTK+ theme switcher"
pankso@510 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@23810 9 WEB_SITE="https://wiki.lxde.org/en/LXAppearance"
pankso@16261 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@510 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@17992 12 TAGS="LXDE"
pankso@16261 13 HOST_ARCH="i486 arm"
al@13719 14
pascal@24131 15 DEPENDS="gtk+ dbus-glib"
pascal@24131 16 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev dbus-glib-dev"
pankso@510 17
pascal@24071 18 current_version()
pascal@24071 19 {
pascal@24071 20 wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance/ 2>/dev/null | \
pascal@24071 21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 22 }
pascal@24071 23
pankso@510 24 # Rules to configure and make the package.
pankso@510 25 compile_rules()
pankso@510 26 {
pankso@16261 27 ./configure \
pankso@16261 28 --sysconfdir=/etc \
pascal@24131 29 --enable-dbus \
pankso@16261 30 $CONFIGURE_ARGS &&
pankso@16261 31 make && make install
pankso@510 32 }
pankso@510 33
pankso@510 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@510 35 genpkg_rules()
pankso@510 36 {
al@13694 37 mkdir -p $fs/usr/share
al@13694 38 cp -a $install/usr/bin $fs/usr
al@13694 39 cp -a $install/usr/share/applications $fs/usr/share
al@13694 40 cp -a $install/usr/share/lxappearance $fs/usr/share
pankso@510 41 }