wok-next annotate vkeybd/receipt @ rev 21159

updated diffutils (3.6 -> 3.7)
author Hans-G?nter Theisgen
date Wed Feb 20 08:46:59 2019 +0100 (2019-02-20)
parents d5aab818505e
children 3bc985504162
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"
al@21020 6 SHORT_DESC="Virtual MIDI keyboard"
mojo@13219 7 MAINTAINER="paul@slitaz.org"
pascal@15216 8 LICENSE="GPL2"
mojo@13219 9 WEB_SITE="http://www.alsa-project.org/~tiwai/alsa.html"
al@21020 10
mojo@13219 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mojo@13219 12 WGET_URL="http://ftp.riken.jp/Linux/suse/people/tiwai/vkeybd/$TARBALL"
mojo@13219 13
al@21078 14 BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev libx11-dev"
mojo@13219 15
al@21020 16 compile_rules() {
mojo@13219 17 # Hack makefile
al@21020 18 TCL_VERSION=$(sed '/TCL_VERSION/!d;s/.*"\(.*\)"/\1/' /usr/include/tcl.h) #"
al@21020 19 sed \
al@21020 20 -e 's|PREFIX = /usr/local|PREFIX = /usr|' \
al@21020 21 -e "s|TCL_VERSION = 8.4|TCL_VERSION = $TCL_VERSION|" \
al@21020 22 -i Makefile
al@21020 23
mojo@13219 24 make &&
al@21020 25 make DESTDIR=$install install
mojo@13219 26 }
mojo@13219 27
al@21020 28 genpkg_rules() {
mojo@13219 29 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
mojo@13219 30 cp -a $install/* $fs
mojo@13219 31 # copy .desktop file and pixmap
mojo@13219 32 cp -a $src/vkeybd.desktop $fs/usr/share/applications
al@21020 33 cp -a $src/pixmaps/vkeybd_48x48.png $fs/usr/share/pixmaps
mojo@13219 34 chown -R root.root $fs
al@21078 35 DEPENDS="tk tcl alsa-lib libx11"
mojo@13219 36 }