wok-next view atftp/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d2950281f122 |
children | d769035d06d1 |
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.sourceforge.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 }