32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'libfilezilla'
|
|
# filezilla needs to be rebuilt when libfilezilla version changes, ABI is not stable
|
|
pkgname=libfilezilla
|
|
version=0.39.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="gettext pkg-config"
|
|
makedepends="nettle-devel gnutls-devel"
|
|
short_desc="Small and modern C++ library, which offers some basic functionalities"
|
|
maintainer="Orphaned <orphan@voidlinux.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=59a9d4ed6a00bb55ec111d0630f85cfdb3fbb11fb0c2006ab2b7ed7a6f8f59f4
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
LDFLAGS+=" -latomic"
|
|
fi
|
|
|
|
libfilezilla-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libfilezilla>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|