wok-current view filezilla/receipt @ rev 9402

git: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 27 16:56:58 2011 +0200 (2011-03-27)
parents 9be115472bb5
children 46acda958bcb
line source
1 # SliTaz package receipt.
3 PACKAGE="filezilla"
4 VERSION="3.3.5.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 gnutls-dev libidn libidn-dev xdg-utils gettext"
10 SOURCE="FileZilla"
11 TARBALL="${SOURCE}_${VERSION}_src.tar.bz2"
12 WEB_SITE="http://filezilla-project.org/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 TAGS="ftp client"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --with-tinyxml=builtin \
25 --without-dbus \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
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 }