wok-next view vkeybd/receipt @ rev 21331
updated libvips (7.42.3 -> 8.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 12 17:17:36 2019 +0100 (2019-12-12) |
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 }