wok view atftp/receipt @ rev 23596
astromenace, fs-uae: add libatomic to bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 09 07:55:44 2020 +0000 (2020-04-09) |
parents | 3f05fc58bdef |
children | ecfd56157396 |
line source
1 # SliTaz package receipt.
3 PACKAGE="atftp"
4 VERSION="0.7.2"
5 CATEGORY="network"
6 SHORT_DESC="Advanced Trivial File Transport Protocol client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://freshmeat.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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # 0.7
23 # sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
24 # -e 's/^_*argz_next/__NTH(&/' argz.h
25 sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }