wok-6.x annotate dukto/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 079887dee9fb |
children | ad0bc3efbf37 |
rev | line source |
---|---|
pascal@13296 | 1 # SliTaz package receipt. |
pascal@13296 | 2 |
pascal@13296 | 3 PACKAGE="dukto" |
pascal@22836 | 4 VERSION="4.9.8.0_108" |
pascal@13296 | 5 CATEGORY="network" |
pascal@13296 | 6 SHORT_DESC="A simple, fast and multi-platform file transfer tool for LAN users." |
pascal@13296 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15202 | 8 LICENSE="GPL2" |
pascal@20682 | 9 WEB_SITE="https://sourceforge.net/projects/dukto/" |
pascal@22836 | 10 TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2" |
pascal@13296 | 11 WGET_URL="subversion|http://$PACKAGE.googlecode.com/svn/trunk/" |
pascal@13296 | 12 |
pascal@13297 | 13 BUILD_DEPENDS="subversion Qt4-dev qmake libQtDeclarative" |
pascal@13296 | 14 DEPENDS="gcc-lib-base libQtDeclarative" |
pascal@13296 | 15 |
pascal@24439 | 16 # What is the latest version available today? |
pascal@24439 | 17 current_version() |
pascal@24439 | 18 { |
pascal@24439 | 19 wget -O - https://sourceforge.net/projects/dukto/files/ 2>/dev/null | \ |
pascal@24439 | 20 sed '/scope="row/!d;/dukto-/!d;s|.*/dukto-||;s|.[a-z].*||;s|-|.|g;q' |
pascal@24439 | 21 } |
pascal@24439 | 22 |
pascal@13296 | 23 # Rules to configure and make the package. |
pascal@13296 | 24 compile_rules() |
pascal@13296 | 25 { |
pascal@13296 | 26 cd $src |
pascal@13296 | 27 qmake PREFIX="/usr/" && |
pascal@13296 | 28 make $MAKEFLAGS && |
pascal@13296 | 29 make INSTALL_ROOT=$DESTDIR install |
pascal@13296 | 30 } |
pascal@13296 | 31 |
pascal@13296 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13296 | 33 genpkg_rules() |
pascal@13296 | 34 { |
pascal@13296 | 35 mkdir -p $fs/usr/bin |
pascal@13298 | 36 cp -a $install/* $fs/ |
pascal@13299 | 37 ln -s /opt/dukto/bin/dukto $fs/usr/bin |
pascal@13296 | 38 } |