wok view vkeybd/receipt @ rev 14000

Up: emacs-pkg-lua-mode (20111107)
author Dominique Corbex <domcox@slitaz.org>
date Thu Feb 14 13:36:00 2013 +0100 (2013-02-14)
parents
children b0c60d808e5c
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 WEB_SITE="http://www.alsa-project.org/~tiwai/alsa.html"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://ftp.riken.jp/Linux/suse/people/tiwai/vkeybd/$TARBALL"
12 DEPENDS="tk tcl alsa-lib xorg-libX11"
13 BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev xorg-libX11-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Hack makefile
20 sed -i 's|PREFIX = /usr/local|PREFIX = /usr|; \
21 s|TCL_VERSION = 8.4|TCL_VERSION = 8.5|' Makefile
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
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 }