wok annotate vym/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | 86c657b651d4 |
children | 29df00e1e19d |
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@24326 | 16 # What is the latest version available today? |
pascal@24113 | 17 current_version() |
pascal@24113 | 18 { |
pascal@24113 | 19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24326 | 20 sed '/Development/d;/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24113 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" |
pascal@24113 | 22 } |
pascal@24113 | 23 |
rocky@5177 | 24 # Rules to configure and make the package. |
rocky@5177 | 25 compile_rules() |
rocky@5177 | 26 { |
rocky@5177 | 27 cd $src |
rocky@5177 | 28 echo $src |
rocky@5177 | 29 qmake PREFIX=/usr && |
rocky@5177 | 30 make && |
pascal@15216 | 31 make INSTALL_ROOT=$DESTDIR install |
rocky@5177 | 32 } |
rocky@5177 | 33 |
rocky@5177 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@5177 | 35 genpkg_rules() |
rocky@5177 | 36 { |
rocky@5177 | 37 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps |
pascal@15216 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15216 | 39 cp -a $install/usr/share $fs/usr |
pascal@15216 | 40 cp $install/usr/share/vym/icons/vym.png $fs/usr/share/icons/hicolor/48x48/apps/ |
rocky@5177 | 41 rm -rf $fs/usr/share/vym/lang |
rocky@5177 | 42 } |