wok-current view vym/receipt @ rev 25557
Up bzip3 (1.3.0)
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sun Apr 23 16:03:47 2023 +0000 (2023-04-23) | 
| 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 }