void-packages/srcpkgs/filezilla/template
2018-03-13 07:49:56 +01:00

28 lines
1.1 KiB
Bash

# Template file for 'filezilla'
pkgname=filezilla
version=3.31.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-manualupdatecheck --disable-autoupdatecheck"
hostmakedepends="pkg-config"
makedepends="gnutls-devel pugixml-devel dbus-devel libidn-devel sqlite-devel
gtk+-devel wxWidgets-devel xdg-utils libfilezilla-devel"
depends="xdg-utils hicolor-icon-theme desktop-file-utils"
short_desc="Fast and reliable FTP, FTPS and SFTP client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://filezilla-project.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/FileZilla_${version}_src.tar.bz2"
checksum=14c568b7e3331b8ae6d2371aeb4f4b43fbf97f057c0af9d75165d0d8d0d2dee5
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" wxWidgets-devel xdg-utils"
case "$XBPS_TARGET_MACHINE" in
armv6*) makedepends+=" libatomic-devel" ;;
esac
pre_configure() {
# set --host for sub-configure script else configure breaks
sed -i -e "s|\"\$ac_abs_confdir/src/fzshellext/configure\" --disable-shellext|& --host=${XBPS_TRIPLET}|" configure
}
fi