wok view lxappearance-obconf/receipt @ rev 24071

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 10:35:01 2021 +0000 (2021-07-07)
parents 346038d5909f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lxappearance-obconf"
4 VERSION="0.2.3"
5 CATEGORY="x-window"
6 TAGS="LXDE"
7 SHORT_DESC="LXDE GTK+ theme switcher (plugin)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://lxde.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 DEPENDS="lxappearance openbox"
16 BUILD_DEPENDS="expat-dev fontconfig-dev glib-dev gtk+-dev \
17 libxcb-dev libxml2-dev lxappearance-dev openbox-dev \
18 util-linux-uuid-dev xorg-libSM-dev xorg-libXft-dev \
19 xorg-libXinerama-dev xorg-libXrandr-dev"
21 HOST_ARCH="i486 arm"
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance%20Obconf/ 2>/dev/null | \
26 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --sysconfdir=/etc \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share/lxappearance $fs/usr/share
47 rm -f $fs/usr/lib/lxappearance/plugins/*.*a
48 }