wok-6.x rev 23030
created recipe for libfilezilla
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 16:57:34 2020 +0100 (2020-03-03) |
parents | a4e0ca27c317 |
children | 7f7c79f6a65f |
files | libfilezilla/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libfilezilla/receipt Tue Mar 03 16:57:34 2020 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libfilezilla" 1.7 +VERSION="0.20.1" 1.8 +CATEGORY="libs" 1.9 +TAGS="ftp client" 1.10 +SHORT_DESC="C++ library for filezilla." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="GPLv2+" 1.13 +WEB_SITE="https://lib.filezilla-project.org/" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 +WGET_URL="https://download.filezilla-project.org/$PACKAGE/$TARBALL" 1.17 + 1.18 +DEPENDS="gcc83-lib-base libgnutls nettle" 1.19 +BUILD_DEPENDS="gcc83 gettext gnutls-dev nettle-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + export LDFLAGS="$LDFLAGS -latomic" 1.25 + 1.26 + ./configure \ 1.27 + CC=gcc-83 \ 1.28 + CXX=g++-83 \ 1.29 + --prefix=/usr \ 1.30 + --infodir=/usr/share/info \ 1.31 + --mandir=/usr/share/man \ 1.32 + $CONFIGURE_ARGS && 1.33 + make && 1.34 + make DESTDIR=$DESTDIR install 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/usr/lib 1.41 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 +}