wok view xinput-calibrator/receipt @ rev 25589

xinput-calibrator: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 15 10:35:54 2023 +0000 (12 months ago)
parents 64471e67874e
children
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="https://www.freedesktop.org/wiki/Software/xinput_calibrator/"
12 WGET_URL="https://github.com/tias/xinput_calibrator/archive/refs/tags/v$VERSION.tar.gz"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libX11"
16 BUILD_DEPENDS="xorg-libX11 automake"
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 ./autogen.sh
29 ./configure \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/pixmaps
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/pixmaps/*.xpm \
40 $fs/usr/share/pixmaps
41 }