wok-next annotate svkbd/receipt @ rev 21457
updated sshfs-fuse (3.3.1 -> 3.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 14:36:33 2020 +0100 (2020-05-07) |
parents | d457c4e37c1b |
children |
rev | line source |
---|---|
al@19760 | 1 # SliTaz package receipt v2. |
pankso@16427 | 2 |
pankso@16427 | 3 PACKAGE="svkbd" |
al@19760 | 4 GITHASH="fc267005ced2251de9e05e62e8a2b42a2712236a" |
pascal@16430 | 5 VERSION="${GITHASH:0:7}" |
pankso@16427 | 6 CATEGORY="x-window" |
al@19760 | 7 SHORT_DESC="Simple virtual keyboard that suck less" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pankso@16427 | 9 LICENSE="BSD" |
al@21041 | 10 WEB_SITE="http://tools.suckless.org/x/svkbd/" |
al@21041 | 11 |
al@19760 | 12 COOKOPTS="!menus" |
al@19760 | 13 |
pankso@16427 | 14 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@16431 | 15 WGET_URL="http://git.suckless.org/svkbd/snapshot/svkbd-$GITHASH.tar.bz2" |
pankso@16427 | 16 |
al@21078 | 17 BUILD_DEPENDS="libx11-dev libxtst-dev" |
al@21020 | 18 SPLIT="$PACKAGE-de $PACKAGE-fr $PACKAGE-ru" |
pankso@16427 | 19 |
al@21020 | 20 compile_rules() { |
al@19760 | 21 cp -d $stuff/*.h . |
al@19760 | 22 for layout in de en ru fr; do |
al@19760 | 23 make svkbd-$layout CC=$HOST_SYSTEM-gcc || return 1 |
pankso@16427 | 24 done |
pankso@16427 | 25 # We may need to sed config.def.h to set correct font for RU ??? |
pankso@16427 | 26 #make svkbd-ru CC=${HOST_SYSTEM}-gcc |
al@21020 | 27 make DESTDIR=$install PREFIX="/usr" install |
pankso@16427 | 28 } |
pankso@16427 | 29 |
al@21020 | 30 genpkg_rules() { |
al@19760 | 31 case $PACKAGE in |
al@19760 | 32 svkbd) copy svkbd-en*;; |
al@19760 | 33 svkbd-de) copy svkbd-de*; CAT="x-window|DE Layout";; |
al@19760 | 34 svkbd-fr) copy svkbd-fr*; CAT="x-window|FR Layout";; |
al@19760 | 35 svkbd-ru) copy svkbd-ru*; CAT="x-window|RU Layout";; |
al@19760 | 36 esac |
al@21078 | 37 DEPENDS="libx11 libxtst" |
pankso@16427 | 38 } |