wok view xinput-calibrator/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (24 months ago)
parents 922f061231c2
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="xinput-calibrator"
4 VERSION="0.7.5"
5 CATEGORY="x-window"
6 SHORT_DESC="A generic touchscreen calibration program for X.Org"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="xinput_calibrator"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freedesktop.org/wiki/Software/xinput_calibrator/"
12 WGET_URL="https://github.com/downloads/tias/xinput_calibrator/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libX11"
16 BUILD_DEPENDS="xorg-libX11"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/tias/xinput_calibrator/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/pixmaps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/pixmaps/*.xpm \
39 $fs/usr/share/pixmaps
40 }