void-packages/srcpkgs/libfilezilla/template

34 lines
1.1 KiB
Bash

# Template file for 'libfilezilla'
# filezilla needs to be rebuilt when libfilezilla version changes, ABI is not stable
pkgname=libfilezilla
version=0.18.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="nettle-devel gnutls-devel"
short_desc="Small and modern C++ library, which offers some basic functionalities"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-2.0-or-later"
homepage="https://lib.filezilla-project.org/"
changelog="https://svn.filezilla-project.org/filezilla/libfilezilla/trunk/NEWS?view=co"
distfiles="https://download.filezilla-project.org/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=40d86929b486a6809c4b52d607f21a00e634e0b9b792504fe2964c117b522dc9
case "$XBPS_TARGET_MACHINE" in
armv[56]*|ppc|ppc-musl*)
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
;;
esac
libfilezilla-devel_package() {
short_desc+=" - development files"
depends="libfilezilla>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}