wok-current view atftp/receipt @ rev 21260
updated libmspack and libmspack-dev (0.5alpha -> 0.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 12 12:45:02 2019 +0100 (2019-04-12) |
parents | 7f39549720b8 |
children | 3f05fc58bdef |
line source
1 # SliTaz package receipt.
3 PACKAGE="atftp"
4 VERSION="0.7"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses readline"
15 BUILD_DEPENDS="pcre-dev readline-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
21 -e 's/^_*argz_next/__NTH(&/' argz.h
22 sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }