wok-current view gsynaptics/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 aee21a8acd49
children 22471cbea549
line source
1 # SliTaz package receipt.
3 PACKAGE="gsynaptics"
4 VERSION="0.9.16"
5 CATEGORY="utilities"
6 SHORT_DESC="Synaptics TouchPad driver for XOrg/XFree86 (Deprecated)."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://sourceforge.jp/projects/gsynaptics/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://sourceforge.jp/frs/redir.php?m=keihanna&f=%2F$PACKAGE%2F38463%2F$TARBALL"
14 DEPENDS="dbus-glib GConf gtk+ libglade ORBit2"
15 BUILD_DEPENDS="dbus-glib-dev gtk+-dev libglade-dev GConf-dev gnome-doc-utils-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://osdn.net/projects/gsynaptics/releases/ 2>/dev/null | \
21 sed '/GSynaptics-[0-9]/!d;s|.*GSynaptics-||;s|. .*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --disable-scrollkeeper \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }