wok-6.x annotate xinput-calibrator/receipt @ rev 25095

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