wok view dukto/receipt @ rev 24516
updated enet (1.3.14 -> 1.3.17)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 07:39:01 2022 +0100 (2022-02-22) |
parents | 079887dee9fb |
children | ad0bc3efbf37 |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/dukto/files/ 2>/dev/null | \
20 sed '/scope="row/!d;/dukto-/!d;s|.*/dukto-||;s|.[a-z].*||;s|-|.|g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 qmake PREFIX="/usr/" &&
28 make $MAKEFLAGS &&
29 make INSTALL_ROOT=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $install/* $fs/
37 ln -s /opt/dukto/bin/dukto $fs/usr/bin
38 }