wok-current annotate svkbd/receipt @ rev 21785

minetest, openal: add post_install (thanks Rene Rivero)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 21 11:32:27 2019 +0200 (2019-07-21)
parents fb3e7c61c4b2
children 934055de50e2
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"
pascal@20679 11 WEB_SITE="http://tools.suckless.org/x/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 }