wok-6.x view vkeybd/receipt @ rev 18897
syslinux/isohybrid.exe add -r support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 14 22:06:06 2016 +0100 (2016-02-14) |
parents | b0c60d808e5c |
children | 9cae76300191 |
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="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 }