wok-6.x view atftp/receipt @ rev 22797

Add xsane-locales
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 10:28:49 2020 +0100 (2020-01-27)
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 }