wok-6.x annotate libfilezilla/receipt @ rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | fb939f171cc0 |
children |
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" |
pascal@23054 | 16 BUILD_DEPENDS="gcc83 gettext gnutls-dev nettle-dev libatomic libgnutls" |
Hans-G?nter@23030 | 17 |
pascal@24447 | 18 # What is the latest version available today? |
pascal@24447 | 19 current_version() |
pascal@24447 | 20 { |
pascal@24447 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 23 } |
pascal@24447 | 24 |
Hans-G?nter@23030 | 25 # Rules to configure and make the package. |
Hans-G?nter@23030 | 26 compile_rules() |
Hans-G?nter@23030 | 27 { |
Hans-G?nter@23030 | 28 export LDFLAGS="$LDFLAGS -latomic" |
Hans-G?nter@23030 | 29 |
Hans-G?nter@23030 | 30 ./configure \ |
Hans-G?nter@23030 | 31 CC=gcc-83 \ |
Hans-G?nter@23030 | 32 CXX=g++-83 \ |
Hans-G?nter@23030 | 33 --prefix=/usr \ |
Hans-G?nter@23030 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@23030 | 35 --mandir=/usr/share/man \ |
Hans-G?nter@23031 | 36 --build=$HOST_SYSTEM \ |
Hans-G?nter@23031 | 37 --host=$HOST_SYSTEM \ |
Hans-G?nter@23030 | 38 $CONFIGURE_ARGS && |
Hans-G?nter@23030 | 39 make && |
Hans-G?nter@23030 | 40 make DESTDIR=$DESTDIR install |
Hans-G?nter@23030 | 41 } |
Hans-G?nter@23030 | 42 |
Hans-G?nter@23030 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23030 | 44 genpkg_rules() |
Hans-G?nter@23030 | 45 { |
Hans-G?nter@23030 | 46 mkdir -p $fs/usr/lib |
Hans-G?nter@23030 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23030 | 48 } |