wok-next view vkeybd/receipt @ rev 15759
Add Spk (SliTaz Packages Toolset)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 05 02:48:00 2014 +0100 (2014-01-05) |
parents | 65541230177a |
children | 9a27b923c7b7 |
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 sed -i 's|PREFIX = /usr/local|PREFIX = /usr|; \
22 s|TCL_VERSION = 8.4|TCL_VERSION = 8.5|' Makefile
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
31 cp -a $install/* $fs
32 # copy .desktop file and pixmap
33 cp -a $src/vkeybd.desktop $fs/usr/share/applications
34 cp -a $src/pixmaps/vkeybd_48x48.png $fs/usr/share/pixmaps
35 chown -R root.root $fs
36 }