wok annotate atftp/receipt @ rev 24404

updated chromaprint and chromaprint-dev (1.4.3 -> 1.5.1)
author Hans-G?nter Theisgen
date Wed Feb 09 07:43:00 2022 +0100 (2022-02-09)
parents ecfd56157396
children b56b38cfd475
rev   line source
pascal@7223 1 # SliTaz package receipt.
pascal@7223 2
pascal@7223 3 PACKAGE="atftp"
Hans-G?nter@24330 4 VERSION="0.7.5"
pascal@7223 5 CATEGORY="network"
pascal@7223 6 SHORT_DESC="Advanced Trivial File Transport Protocol client."
pascal@7223 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15201 8 LICENSE="GPL2"
Hans-G?nter@24330 9 WEB_SITE="https://sourceforge.net/projects/atftp/"
Hans-G?nter@22513 10
pascal@7223 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22513 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@9889 13
erjo@9889 14 DEPENDS="ncurses readline"
erjo@9889 15 BUILD_DEPENDS="pcre-dev readline-dev"
pascal@7223 16
Hans-G?nter@22513 17 HOST_ARCH="i486 arm"
Hans-G?nter@22513 18
pascal@24334 19 # What is the latest version available today?
pascal@24334 20 current_version()
pascal@24334 21 {
pascal@24334 22 wget -O - https://sourceforge.net/projects/atftp/files/ 2>/dev/null | \
pascal@24334 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
pascal@24334 24 }
Hans-G?nter@24330 25
pascal@7223 26 # Rules to configure and make the package.
pascal@7223 27 compile_rules()
pascal@7223 28 {
Hans-G?nter@22513 29 # 0.7
Hans-G?nter@22513 30 # sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
Hans-G?nter@22513 31 # -e 's/^_*argz_next/__NTH(&/' argz.h
Hans-G?nter@24330 32
Hans-G?nter@24330 33 sed -i 's|CLK_TCK|CLOCKS_PER_SEC|' stats.c
Hans-G?nter@22513 34
Hans-G?nter@22513 35 ./configure \
Hans-G?nter@22513 36 --prefix=/usr \
Hans-G?nter@22513 37 --infodir=/usr/share/info \
Hans-G?nter@22513 38 --mandir=/usr/share/man \
Hans-G?nter@22513 39 $CONFIGURE_ARGS &&
pascal@7223 40 make &&
Hans-G?nter@24330 41 make install DESTDIR=$DESTDIR
pascal@7223 42 }
pascal@7223 43
pascal@7223 44 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7223 45 genpkg_rules()
pascal@7223 46 {
Hans-G?nter@24330 47 cook_copy_folders bin
pascal@7223 48 }