SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "vym"

# SliTaz package receipt.

PACKAGE="vym"
VERSION="1.12.7"
CATEGORY="utilities"
SHORT_DESC="A mindmapping tool"
MAINTAINER="rocky@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.insilmaril.de/vym/"
WGET_URL="$SF_MIRROR/vym/$TARBALL"

DEPENDS="libQtCore libQtNetwork libQtXml libQtSql libQtGui libQt3Support zip"
BUILD_DEPENDS="qmake Qt4-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    sed '/Development/d;/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    echo $src
    qmake PREFIX=/usr &&
    make &&
    make INSTALL_ROOT=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share $fs/usr
    cp $install/usr/share/vym/icons/vym.png $fs/usr/share/icons/hicolor/48x48/apps/
    rm -rf $fs/usr/share/vym/lang
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)