wok-current view libfilezilla/receipt @ rev 24548

created recipe for firefox-official-pl
author Hans-G?nter Theisgen
date Fri Feb 25 07:47:13 2022 +0100 (2022-02-25)
parents fb939f171cc0
children
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -latomic"
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --build=$HOST_SYSTEM \
37 --host=$HOST_SYSTEM \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }