wok-next view atftp/receipt @ rev 20956
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 05 00:08:37 2018 +0300 (2018-09-05) |
parents | 342b30daff76 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="atftp"
4 VERSION="0.7.1"
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.net/projects/atftp/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
14 BUILD_DEPENDS="pcre-dev readline-dev automake"
15 SPLIT="atftpd"
17 compile_rules() {
18 # sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
19 # -e 's/^_*argz_next/__NTH(&/' argz.h
20 # sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
21 sed -i 's/D_REENTRANT/& -std=gnu89/' configure*
23 autoreconf -vi &&
24 ./configure \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 atftp)
33 copy atftp
34 CAT="network|client"
35 DEPENDS="readline"
36 ;;
37 atftpd)
38 copy atftpd in.tftpd
39 CAT="network|server"
40 DEPENDS="libpcre"
41 ;;
42 esac
43 }