wok view atftp/receipt @ rev 24748

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