wok annotate filezilla/receipt @ rev 9026
gtkperf: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 22:08:34 2011 +0100 (2011-03-03) |
parents | 9be115472bb5 |
children | 46acda958bcb |
rev | line source |
---|---|
erjo@3671 | 1 # SliTaz package receipt. |
erjo@3671 | 2 |
erjo@3671 | 3 PACKAGE="filezilla" |
slaxemulator@7358 | 4 VERSION="3.3.5.1" |
erjo@3671 | 5 CATEGORY="network" |
erjo@3671 | 6 SHORT_DESC="FTP Client" |
erjo@3671 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5026 | 8 DEPENDS="wxWidgets gnutls libidn xorg-libXxf86vm libtasn1" |
slaxemulator@6253 | 9 BUILD_DEPENDS="wxWidgets-dev gnutls gnutls-dev libidn libidn-dev xdg-utils gettext" |
erjo@3671 | 10 SOURCE="FileZilla" |
erjo@3671 | 11 TARBALL="${SOURCE}_${VERSION}_src.tar.bz2" |
erjo@3671 | 12 WEB_SITE="http://filezilla-project.org/" |
slaxemulator@8538 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4936 | 14 TAGS="ftp client" |
erjo@3671 | 15 |
erjo@3671 | 16 # Rules to configure and make the package. |
erjo@3671 | 17 compile_rules() |
erjo@3671 | 18 { |
erjo@3671 | 19 cd $src |
erjo@3671 | 20 ./configure \ |
erjo@3671 | 21 --prefix=/usr \ |
erjo@3671 | 22 --infodir=/usr/share/info \ |
erjo@3671 | 23 --mandir=/usr/share/man \ |
slaxemulator@6253 | 24 --with-tinyxml=builtin \ |
slaxemulator@6253 | 25 --without-dbus \ |
erjo@3671 | 26 $CONFIGURE_ARGS && |
erjo@3671 | 27 make && make DESTDIR=$PWD/_pkg install |
erjo@3671 | 28 } |
erjo@3671 | 29 |
erjo@3671 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3671 | 31 genpkg_rules() |
erjo@3671 | 32 { |
erjo@3671 | 33 mkdir -p $fs/usr/share |
erjo@3671 | 34 cp -a $_pkg/usr/bin $fs/usr |
erjo@3671 | 35 cp -a $_pkg/usr/share/filezilla $fs/usr/share |
erjo@3671 | 36 |
erjo@3671 | 37 rm -rf $fs/usr/share/fileszilla/docs |
erjo@3671 | 38 } |
erjo@3671 | 39 |