wok annotate vkeybd/receipt @ rev 24383
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 11:51:57 2022 +0000 (2022-02-06) |
parents | 9a27b923c7b7 |
children | 7c0170dd3ecc |
rev | line source |
---|---|
mojo@13219 | 1 # SliTaz package receipt. |
mojo@13219 | 2 |
mojo@13219 | 3 PACKAGE="vkeybd" |
mojo@13219 | 4 VERSION="0.1.18d" |
mojo@13219 | 5 CATEGORY="multimedia" |
mojo@13219 | 6 SHORT_DESC="Virtual Midi keyboard." |
mojo@13219 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15216 | 8 LICENSE="GPL2" |
pascal@20965 | 9 WEB_SITE="https://web.archive.org/web/20190212145237/http://www.alsa-project.org/~tiwai/alsa.html" |
mojo@13219 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mojo@13219 | 11 WGET_URL="http://ftp.riken.jp/Linux/suse/people/tiwai/vkeybd/$TARBALL" |
mojo@13219 | 12 |
mojo@13219 | 13 DEPENDS="tk tcl alsa-lib xorg-libX11" |
mojo@13219 | 14 BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev xorg-libX11-dev" |
mojo@13219 | 15 |
mojo@13219 | 16 # Rules to configure and make the package. |
mojo@13219 | 17 compile_rules() |
mojo@13219 | 18 { |
mojo@13219 | 19 cd $src |
mojo@13219 | 20 # Hack makefile |
pascal@17669 | 21 TCL_VERSION=$(sed '/TCL_VERSION/!d;s/.*"\(.*\)"/\1/' /usr/include/tcl.h) |
pascal@17669 | 22 sed -i "s|PREFIX = /usr/local|PREFIX = /usr|; \ |
pascal@17669 | 23 s|TCL_VERSION = 8.4|TCL_VERSION = $TCL_VERSION|" Makefile |
mojo@13219 | 24 make && |
mojo@13219 | 25 make DESTDIR=$DESTDIR install |
mojo@13219 | 26 } |
mojo@13219 | 27 |
mojo@13219 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@13219 | 29 genpkg_rules() |
mojo@13219 | 30 { |
mojo@13219 | 31 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
mojo@13219 | 32 cp -a $install/* $fs |
mojo@13219 | 33 # copy .desktop file and pixmap |
mojo@13219 | 34 cp -a $src/vkeybd.desktop $fs/usr/share/applications |
mojo@13219 | 35 cp -a $src/pixmaps/vkeybd_48x48.png $fs/usr/share/pixmaps |
mojo@13219 | 36 chown -R root.root $fs |
mojo@13219 | 37 } |
mojo@13219 | 38 |