wok diff vkeybd/receipt @ rev 13811
xterm: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 10:23:03 2013 +0100 (2013-01-06) |
parents | |
children | b0c60d808e5c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vkeybd/receipt Sun Jan 06 10:23:03 2013 +0100 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 +