wok annotate vym/receipt @ rev 8401

busybox/init: avoid a warning
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 19:07:12 2011 +0100 (2011-02-05)
parents 4ca1ba8e3650
children 940b5937e496
rev   line source
rocky@5177 1 # SliTaz package receipt.
rocky@5177 2
rocky@5177 3 PACKAGE="vym"
rocky@5177 4 VERSION="1.12.7"
rocky@5177 5 CATEGORY="utilities"
rocky@5177 6 SHORT_DESC="A mindmapping tool"
rocky@5177 7 MAINTAINER="rocky@slitaz.org"
rocky@5510 8 DEPENDS="libQtCore libQtNetwork libQtXml libQtSql libQtGui libQt3Support zip"
rocky@5177 9 BUILD_DEPENDS="qmake Qt4-dev"
rocky@5177 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rocky@5177 11 WEB_SITE="http://www.insilmaril.de/vym/"
rocky@5177 12 WGET_URL="$SF_MIRROR/vym/$TARBALL"
rocky@5177 13
rocky@5177 14 # Rules to configure and make the package.
rocky@5177 15 compile_rules()
rocky@5177 16 {
rocky@5177 17 cd $src
rocky@5177 18 echo $src
rocky@5177 19 qmake PREFIX=/usr &&
rocky@5177 20 make &&
rocky@5177 21 make INSTALL_ROOT=$PWD/_pkg install
rocky@5177 22 mkdir -p $PWD/_pkg/usr/share/applications
rocky@5177 23 cp -f ../stuff/vym.desktop $PWD/_pkg/usr/share/applications
rocky@5177 24 }
rocky@5177 25
rocky@5177 26 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@5177 27 genpkg_rules()
rocky@5177 28 {
rocky@5177 29 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
rocky@5177 30 cp -a $_pkg/usr/bin $fs/usr
rocky@5177 31 cp -a $_pkg/usr/share $fs/usr
rocky@5177 32 cp $_pkg/usr/share/vym/icons/vym.png $fs/usr/share/icons/hicolor/48x48/apps/
rocky@5177 33 rm -rf $fs/usr/share/vym/lang
rocky@5177 34 }