wok view vym/receipt @ rev 24769
lapack: CMAKE_INSTALL_LIBDIR=/usr/lib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 14:14:13 2022 +0000 (2022-03-19) |
parents | 86c657b651d4 |
children | 29df00e1e19d |
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 }