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