wok-6.x view dukto/receipt @ rev 24403

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 18:20:23 2022 +0000 (2022-02-08)
parents 20661c276bcf
children bfabe25c21ff
line source
1 # SliTaz package receipt.
3 PACKAGE="dukto"
4 VERSION="4.9.8.0_108"
5 CATEGORY="network"
6 SHORT_DESC="A simple, fast and multi-platform file transfer tool for LAN users."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/dukto/"
10 TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2"
11 WGET_URL="subversion|http://$PACKAGE.googlecode.com/svn/trunk/"
13 BUILD_DEPENDS="subversion Qt4-dev qmake libQtDeclarative"
14 DEPENDS="gcc-lib-base libQtDeclarative"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 qmake PREFIX="/usr/" &&
21 make $MAKEFLAGS &&
22 make INSTALL_ROOT=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $install/* $fs/
30 ln -s /opt/dukto/bin/dukto $fs/usr/bin
31 }