wok annotate svkbd/receipt @ rev 19497
Up SliTaz projects: cookutils (838), slitaz-base-files (314), tazlito (439 again, seems failure isn't here).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 17 01:33:43 2016 +0200 (2016-11-17) |
parents | 261ab1739100 |
children | 6135577f4d08 |
rev | line source |
---|---|
pankso@16427 | 1 # SliTaz package receipt. |
pankso@16427 | 2 |
pankso@16427 | 3 PACKAGE="svkbd" |
pascal@16430 | 4 GITHASH="a5b40479e354ce11a1b009492da65ea562070cba" |
pascal@16430 | 5 VERSION="${GITHASH:0:7}" |
pankso@16427 | 6 CATEGORY="x-window" |
pankso@16427 | 7 SHORT_DESC="Simple virtual keyboard that suck less (EN Layout)." |
pankso@16427 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16427 | 9 LICENSE="BSD" |
pankso@16427 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16427 | 11 WEB_SITE="http://tools.suckless.org/svkbd" |
pascal@16431 | 12 WGET_URL="http://git.suckless.org/svkbd/snapshot/svkbd-$GITHASH.tar.bz2" |
pankso@16427 | 13 HOST_ARCH="i486 arm" |
pankso@16427 | 14 |
pankso@16427 | 15 DEPENDS="xorg-libX11 xorg-libXtst" |
pankso@16427 | 16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst-dev" |
pankso@16427 | 17 |
pankso@16427 | 18 # Rules to configure and make the package. |
pankso@16427 | 19 compile_rules() |
pankso@16427 | 20 { |
pascal@16436 | 21 cp -d ${stuff}/*.h . |
pascal@16436 | 22 for layout in de en ru fr |
pankso@16427 | 23 do |
pankso@16427 | 24 make svkbd-${layout} CC=${HOST_SYSTEM}-gcc || return 1 |
pankso@16427 | 25 done |
pankso@16427 | 26 # We may need to sed config.def.h to set correct font for RU ??? |
pankso@16427 | 27 #make svkbd-ru CC=${HOST_SYSTEM}-gcc |
pankso@16427 | 28 make install DESTDIR=${DESTDIR} PREFIX="/usr" |
pankso@16427 | 29 } |
pankso@16427 | 30 |
pankso@16427 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16427 | 32 genpkg_rules() |
pankso@16427 | 33 { |
pankso@16427 | 34 mkdir -p $fs/usr/bin |
pankso@16427 | 35 cp -a ${install}/usr/bin/${PACKAGE}-en $fs/usr/bin |
pankso@16427 | 36 } |