wok view libfilezilla/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
parents 7f7c79f6a65f
children ede1d184d5c5
line source
1 # SliTaz package receipt.
3 PACKAGE="libfilezilla"
4 VERSION="0.20.1"
5 CATEGORY="libs"
6 TAGS="ftp client"
7 SHORT_DESC="C++ library for filezilla."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPLv2+"
10 WEB_SITE="https://lib.filezilla-project.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://download.filezilla-project.org/$PACKAGE/$TARBALL"
15 DEPENDS="gcc83-lib-base libgnutls nettle"
16 BUILD_DEPENDS="gcc83 gettext gnutls-dev nettle-dev libatomic libgnutls"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -latomic"
23 ./configure \
24 CC=gcc-83 \
25 CXX=g++-83 \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --build=$HOST_SYSTEM \
30 --host=$HOST_SYSTEM \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }