wok view vym/receipt @ rev 24240

updated perl-mime-types (2.17 -> 2.22)
author Hans-G?nter Theisgen
date Sun Jan 02 07:21:29 2022 +0100 (2022-01-02)
parents b0c60d808e5c
children 095836df71b7
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 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 echo $src
28 qmake PREFIX=/usr &&
29 make &&
30 make INSTALL_ROOT=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
39 cp $install/usr/share/vym/icons/vym.png $fs/usr/share/icons/hicolor/48x48/apps/
40 rm -rf $fs/usr/share/vym/lang
41 }