wok-6.x view libfilezilla/receipt @ rev 23030

created recipe for libfilezilla
author Hans-G?nter Theisgen
date Tue Mar 03 16:57:34 2020 +0100 (2020-03-03)
parents
children 7f7c79f6a65f
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"
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 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }