wok view vkeybd/receipt @ rev 22929

updated hg-git (0.8.12 -> 0.8.13)
author Hans-G?nter Theisgen
date Wed Feb 26 15:46:44 2020 +0100 (2020-02-26)
parents 9a27b923c7b7
children 7c0170dd3ecc
line source
1 # SliTaz package receipt.
3 PACKAGE="vkeybd"
4 VERSION="0.1.18d"
5 CATEGORY="multimedia"
6 SHORT_DESC="Virtual Midi keyboard."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20190212145237/http://www.alsa-project.org/~tiwai/alsa.html"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://ftp.riken.jp/Linux/suse/people/tiwai/vkeybd/$TARBALL"
13 DEPENDS="tk tcl alsa-lib xorg-libX11"
14 BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev xorg-libX11-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # Hack makefile
21 TCL_VERSION=$(sed '/TCL_VERSION/!d;s/.*"\(.*\)"/\1/' /usr/include/tcl.h)
22 sed -i "s|PREFIX = /usr/local|PREFIX = /usr|; \
23 s|TCL_VERSION = 8.4|TCL_VERSION = $TCL_VERSION|" Makefile
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
32 cp -a $install/* $fs
33 # copy .desktop file and pixmap
34 cp -a $src/vkeybd.desktop $fs/usr/share/applications
35 cp -a $src/pixmaps/vkeybd_48x48.png $fs/usr/share/pixmaps
36 chown -R root.root $fs
37 }