void-packages/srcpkgs/libfilezilla/template
2019-06-28 19:32:09 +02:00

32 lines
1,001 B
Bash

# Template file for 'libfilezilla'
# filezilla needs to be rebuilt when libfilezilla version changes, ABI is not stable
pkgname=libfilezilla
version=0.17.1
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/"
distfiles="https://download.filezilla-project.org/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=d3ef141b8e5816384f686bd6d67fddcfb04be1cd7804d47df8b4b8b81365d3b2
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
}
}