wok view xruskb/receipt @ rev 24330

updated atftp and atftpd (0.7.2 -> 0.7.5)
author Hans-G?nter Theisgen
date Thu Jan 27 15:48:06 2022 +0100 (2022-01-27)
parents 6135577f4d08
children 1805f71c5d9f
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.gz"
10 WEB_SITE="https://github.com/lavv17/xruskb"
11 WGET_URL="http://ftp.yars.free.net/pub/source/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 }