wok-current annotate xruskb/receipt @ rev 25077
updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 14:50:09 2022 +0100 (2022-06-15) |
parents | 922f061231c2 |
children |
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" |
pascal@24976 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20679 | 10 WEB_SITE="https://github.com/lavv17/xruskb" |
pascal@24976 | 11 WGET_URL="http://lav.yar.ru/download/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 } |