wok-6.x view vkeybd/receipt @ rev 14809
(Up: Apache (2.4.4)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:31:24 2013 +0200 (2013-07-17) |
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 }