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