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