wok-next view vkeybd/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
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://www.alsa-project.org/~tiwai/alsa.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://ftp.riken.jp/Linux/suse/people/tiwai/vkeybd/$TARBALL"
14 BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev libx11-dev"
16 compile_rules() {
17 # Hack makefile
18 TCL_VERSION=$(sed '/TCL_VERSION/!d;s/.*"\(.*\)"/\1/' /usr/include/tcl.h) #"
19 sed \
20 -e 's|PREFIX = /usr/local|PREFIX = /usr|' \
21 -e "s|TCL_VERSION = 8.4|TCL_VERSION = $TCL_VERSION|" \
22 -i Makefile
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules() {
29 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
30 cp -a $install/* $fs
31 # copy .desktop file and pixmap
32 cp -a $src/vkeybd.desktop $fs/usr/share/applications
33 cp -a $src/pixmaps/vkeybd_48x48.png $fs/usr/share/pixmaps
34 chown -R root.root $fs
35 DEPENDS="tk tcl alsa-lib libx11"
36 }