wok-next annotate dukto/receipt @ rev 14109
Up zerobin (0.17_alpha)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 24 11:44:36 2013 +0100 (2013-02-24) |
parents | dc3f9344f9de |
children | 223b265f40fd |
rev | line source |
---|---|
pascal@13296 | 1 # SliTaz package receipt. |
pascal@13296 | 2 |
pascal@13296 | 3 PACKAGE="dukto" |
pascal@13296 | 4 VERSION="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@13296 | 8 WEB_SITE="http://code.google.com/p/$PACKAGE/" |
pascal@13296 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13296 | 10 WGET_URL="subversion|http://$PACKAGE.googlecode.com/svn/trunk/" |
pascal@13296 | 11 |
pascal@13297 | 12 BUILD_DEPENDS="subversion Qt4-dev qmake libQtDeclarative" |
pascal@13296 | 13 DEPENDS="gcc-lib-base libQtDeclarative" |
pascal@13296 | 14 |
pascal@13296 | 15 # Rules to configure and make the package. |
pascal@13296 | 16 compile_rules() |
pascal@13296 | 17 { |
pascal@13296 | 18 cd $src |
pascal@13296 | 19 qmake PREFIX="/usr/" && |
pascal@13296 | 20 make $MAKEFLAGS && |
pascal@13296 | 21 make INSTALL_ROOT=$DESTDIR install |
pascal@13296 | 22 } |
pascal@13296 | 23 |
pascal@13296 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13296 | 25 genpkg_rules() |
pascal@13296 | 26 { |
pascal@13296 | 27 mkdir -p $fs/usr/bin |
pascal@13298 | 28 cp -a $install/* $fs/ |
pascal@13299 | 29 ln -s /opt/dukto/bin/dukto $fs/usr/bin |
pascal@13296 | 30 } |