wok-current view svkbd/receipt @ rev 25317

updated soundtouch and soundtouch-dev (2.1.2 -> 2.3.1)
author Hans-G?nter Theisgen
date Thu Jul 21 07:14:01 2022 +0100 (2022-07-21)
parents 934055de50e2
children 1801955a1d6d
line source
1 # SliTaz package receipt.
3 PACKAGE="svkbd"
4 BRANCH="a5b40479e354ce11a1b009492da65ea562070cba"
5 VERSION=${BRANCH:0:7}
6 CATEGORY="x-window"
7 SHORT_DESC="Simple virtual keyboard that suck less (EN Layout)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://tools.suckless.org/x/svkbd/"
12 WGET_URL="git|git://git.suckless.org/svkbd"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libX11 xorg-libXtst"
16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cp -d ${stuff}/*.h .
29 for layout in de en ru fr
30 do
31 make svkbd-${layout} CC=${HOST_SYSTEM}-gcc || return 1
32 done
33 # We may need to sed config.def.h to set correct font for RU ???
34 #make svkbd-ru CC=${HOST_SYSTEM}-gcc
35 make install DESTDIR=${DESTDIR} PREFIX="/usr"
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 cp -a ${install}/usr/bin/${PACKAGE}-en $fs/usr/bin
43 }