SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dukto"

# SliTaz package receipt.

PACKAGE="dukto"
VERSION="4.9.8.0_108"
CATEGORY="network"
SHORT_DESC="A simple, fast and multi-platform file transfer tool for LAN users."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://sourceforge.net/projects/dukto/"
TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2"
WGET_URL="subversion|http://$PACKAGE.googlecode.com/svn/trunk/"

BUILD_DEPENDS="subversion Qt4-dev qmake libQtDeclarative"
DEPENDS="gcc-lib-base libQtDeclarative"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/dukto/files/ 2>/dev/null | \
    sed '/scope="row/!d;/dukto-/!d;s|.*/dukto-||;s|.[a-z].*||;s|-|.|g;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $install/* $fs/
    ln -s /opt/dukto/bin/dukto $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)