wok view xruskb/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
line source
1 # SliTaz package receipt
3 PACKAGE="xruskb"
4 VERSION="1.15.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Keyboard switcher for russian/czech"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/lavv17/xruskb"
11 WGET_URL="http://lav.yar.ru/download/xruskb/$TARBALL"
13 DEPENDS="lesstif freetype xorg-libXp xorg-libXmu"
14 BUILD_DEPENDS="xorg-libXp-dev xorg-libXmu-dev lesstif-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;s|-|.|g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 }