wok-current annotate vym/receipt @ rev 24160
Up ventoy (1.0.63)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 20 17:39:32 2021 +0000 (2021-12-20) |
parents | b0c60d808e5c |
children | 095836df71b7 |
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" |
pascal@15216 | 8 LICENSE="GPL2" |
rocky@5177 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rocky@5177 | 10 WEB_SITE="http://www.insilmaril.de/vym/" |
rocky@5177 | 11 WGET_URL="$SF_MIRROR/vym/$TARBALL" |
rocky@5177 | 12 |
pascal@15216 | 13 DEPENDS="libQtCore libQtNetwork libQtXml libQtSql libQtGui libQt3Support zip" |
pascal@15216 | 14 BUILD_DEPENDS="qmake Qt4-dev" |
pascal@15216 | 15 |
pascal@24113 | 16 current_version() |
pascal@24113 | 17 { |
pascal@24113 | 18 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24113 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24113 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" |
pascal@24113 | 21 } |
pascal@24113 | 22 |
rocky@5177 | 23 # Rules to configure and make the package. |
rocky@5177 | 24 compile_rules() |
rocky@5177 | 25 { |
rocky@5177 | 26 cd $src |
rocky@5177 | 27 echo $src |
rocky@5177 | 28 qmake PREFIX=/usr && |
rocky@5177 | 29 make && |
pascal@15216 | 30 make INSTALL_ROOT=$DESTDIR install |
rocky@5177 | 31 } |
rocky@5177 | 32 |
rocky@5177 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@5177 | 34 genpkg_rules() |
rocky@5177 | 35 { |
rocky@5177 | 36 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps |
pascal@15216 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15216 | 38 cp -a $install/usr/share $fs/usr |
pascal@15216 | 39 cp $install/usr/share/vym/icons/vym.png $fs/usr/share/icons/hicolor/48x48/apps/ |
rocky@5177 | 40 rm -rf $fs/usr/share/vym/lang |
rocky@5177 | 41 } |