wok-6.x annotate vym/receipt @ rev 12676
mpd: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:46:30 2012 +0200 (2012-05-01) |
parents | 940b5937e496 |
children | b0c60d808e5c |
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 } |
rocky@5177 | 23 |
rocky@5177 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@5177 | 25 genpkg_rules() |
rocky@5177 | 26 { |
rocky@5177 | 27 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps |
rocky@5177 | 28 cp -a $_pkg/usr/bin $fs/usr |
rocky@5177 | 29 cp -a $_pkg/usr/share $fs/usr |
rocky@5177 | 30 cp $_pkg/usr/share/vym/icons/vym.png $fs/usr/share/icons/hicolor/48x48/apps/ |
rocky@5177 | 31 rm -rf $fs/usr/share/vym/lang |
rocky@5177 | 32 } |