wok-6.x annotate dukto/receipt @ rev 13298
dukto: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 28 14:03:53 2012 +0200 (2012-08-28) |
parents | 7982b75e7995 |
children | f2080a24ac92 |
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@13297 | 29 cp $src/dukto $fs/usr/bin |
pascal@13296 | 30 } |