wok-current annotate 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
rev   line source
Hans-G?nter@23030 1 # SliTaz package receipt.
Hans-G?nter@23030 2
Hans-G?nter@23030 3 PACKAGE="libfilezilla"
Hans-G?nter@23030 4 VERSION="0.20.1"
Hans-G?nter@23030 5 CATEGORY="libs"
Hans-G?nter@23030 6 TAGS="ftp client"
Hans-G?nter@23030 7 SHORT_DESC="C++ library for filezilla."
Hans-G?nter@23030 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23030 9 LICENSE="GPLv2+"
Hans-G?nter@23030 10 WEB_SITE="https://lib.filezilla-project.org/"
Hans-G?nter@23030 11
Hans-G?nter@23030 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@23030 13 WGET_URL="https://download.filezilla-project.org/$PACKAGE/$TARBALL"
Hans-G?nter@23030 14
Hans-G?nter@23030 15 DEPENDS="gcc83-lib-base libgnutls nettle"
Hans-G?nter@23030 16 BUILD_DEPENDS="gcc83 gettext gnutls-dev nettle-dev"
Hans-G?nter@23030 17
Hans-G?nter@23030 18 # Rules to configure and make the package.
Hans-G?nter@23030 19 compile_rules()
Hans-G?nter@23030 20 {
Hans-G?nter@23030 21 export LDFLAGS="$LDFLAGS -latomic"
Hans-G?nter@23030 22
Hans-G?nter@23030 23 ./configure \
Hans-G?nter@23030 24 CC=gcc-83 \
Hans-G?nter@23030 25 CXX=g++-83 \
Hans-G?nter@23030 26 --prefix=/usr \
Hans-G?nter@23030 27 --infodir=/usr/share/info \
Hans-G?nter@23030 28 --mandir=/usr/share/man \
Hans-G?nter@23030 29 $CONFIGURE_ARGS &&
Hans-G?nter@23030 30 make &&
Hans-G?nter@23030 31 make DESTDIR=$DESTDIR install
Hans-G?nter@23030 32 }
Hans-G?nter@23030 33
Hans-G?nter@23030 34 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23030 35 genpkg_rules()
Hans-G?nter@23030 36 {
Hans-G?nter@23030 37 mkdir -p $fs/usr/lib
Hans-G?nter@23030 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23030 39 }