wok-current view vym/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
parents | 86c657b651d4 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vym"
4 VERSION="1.12.7"
5 CATEGORY="utilities"
6 SHORT_DESC="A mindmapping tool"
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.insilmaril.de/vym/"
11 WGET_URL="$SF_MIRROR/vym/$TARBALL"
13 DEPENDS="libQtCore libQtNetwork libQtXml libQtSql libQtGui libQt3Support zip"
14 BUILD_DEPENDS="qmake Qt4-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
20 sed '/Development/d;/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 echo $src
29 qmake PREFIX=/usr &&
30 make &&
31 make INSTALL_ROOT=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 cp $install/usr/share/vym/icons/vym.png $fs/usr/share/icons/hicolor/48x48/apps/
41 rm -rf $fs/usr/share/vym/lang
42 }