wok-stable diff vkeybd/receipt @ rev 12317
Add vkeybd
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Aug 11 01:38:53 2012 +0000 (2012-08-11) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vkeybd/receipt Sat Aug 11 01:38:53 2012 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="vkeybd" 1.7 +VERSION="0.1.18d" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Virtual Midi keyboard." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +WEB_SITE="http://www.alsa-project.org/~tiwai/alsa.html" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WGET_URL="http://ftp.riken.jp/Linux/suse/people/tiwai/vkeybd/$TARBALL" 1.14 + 1.15 +DEPENDS="tk tcl alsa-lib xorg-libX11" 1.16 +BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev xorg-libX11-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + # Hack makefile 1.23 + sed -i 's|PREFIX = /usr/local|PREFIX = /usr|; \ 1.24 + s|TCL_VERSION = 8.4|TCL_VERSION = 8.5|' Makefile 1.25 + make && 1.26 + make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications 1.33 + cp -a $install/* $fs 1.34 + # copy .desktop file and pixmap 1.35 + cp -a $src/vkeybd.desktop $fs/usr/share/applications 1.36 + cp -a $src/pixmaps/vkeybd_48x48.png $fs/usr/share/pixmaps 1.37 + chown -R root.root $fs 1.38 +} 1.39 +