wok view svkbd/receipt @ rev 25740
Fix vlc build, 3.x required Qt5
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Aug 25 19:45:07 2024 +0200 (2 months ago) |
parents | d358ff3c7097 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="svkbd"
4 VERSION="0.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple virtual keyboard that suck less (english layout)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://tools.suckless.org/x/svkbd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
14 DEPENDS="xorg-libX11 xorg-libXtst"
15 BUILD_DEPENDS="fontconfig-dev libxml2-dev xorg-libX11-dev xorg-libXtst-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cp -d ${stuff}/*.h .
31 for layout in de en fr ru
32 do
33 make LAYOUT=$layout \
34 CC=$HOST_SYSTEM-gcc || return 1
35 make install \
36 LAYOUT=$layout \
37 DESTDIR=${DESTDIR} \
38 PREFIX="/usr"
39 done
40 # We may need to sed config.def.h to set correct font for RU ???
41 #make svkbd-ru CC=${HOST_SYSTEM}-gcc
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/bin
48 cp -a $install/usr/bin/$PACKAGE-en $fs/usr/bin
49 }