wok-current view gxneur/receipt @ rev 24445

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 14:14:23 2022 +0000 (2022-02-14)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gxneur"
4 VERSION="0.20.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X Neural Switcher (GTK+ based application with tray icon)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://xneur.ru/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/AndrewCrewKuznetsov/xneur-devel/blob/master/dists/\
13 $VERSION/gxneur_$VERSION.orig.tar.gz?raw=true"
15 DEPENDS="xneur GConf gtk+"
16 BUILD_DEPENDS="xorg-libX11-dev intltool gettext perl xneur-dev gtk+-dev GConf-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://xneur.ru/downloads/ 2>/dev/null | \
22 sed '/gxneur_[0-9]/!d;/tar/!d;s|.*/gxneur_||;s|.[ot].*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 -sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }