wok-current view filezilla/receipt @ rev 5982

nut: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 13 21:34:30 2010 +0200 (2010-08-13)
parents 9f19aee613be
children 504e8837ca20
line source
1 # SliTaz package receipt.
3 PACKAGE="filezilla"
4 VERSION="3.2.6.1"
5 CATEGORY="network"
6 SHORT_DESC="FTP Client"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="wxWidgets gnutls libidn xorg-libXxf86vm libtasn1"
9 BUILD_DEPENDS="wxWidgets-dev gnutls-dev"
10 SOURCE="FileZilla"
11 TARBALL="${SOURCE}_${VERSION}_src.tar.bz2"
12 WEB_SITE="http://filezilla-project.org/"
13 WGET_URL="http://d10xg45o6p6dbl.cloudfront.net/projects/f/filezilla/$TARBALL"
14 TAGS="ftp client"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 src=$PACKAGE-$VERSION
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 _pkg=$PACKAGE-$VERSION/_pkg
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/filezilla $fs/usr/share
37 rm -rf $fs/usr/share/fileszilla/docs
38 }