wok-next view atftp/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="atftp"
4 VERSION="0.7.2"
5 CATEGORY="network"
6 SHORT_DESC="Advanced Trivial File Transport Protocol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://freshmeat.sourceforge.net/projects/atftp/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
14 BUILD_DEPENDS="automake pcre-dev readline-dev"
15 SPLIT="atftpd"
17 compile_rules()
18 {
19 # sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
20 # -e 's/^_*argz_next/__NTH(&/' argz.h
21 # sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
22 sed -i 's/D_REENTRANT/& -std=gnu89/' configure*
24 autoreconf -vi &&
25 ./configure \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 atftp)
35 copy atftp
36 CAT="network|client"
37 DEPENDS="readline"
38 ;;
39 atftpd)
40 copy atftpd in.tftpd
41 CAT="network|server"
42 DEPENDS="libpcre"
43 ;;
44 esac
45 }