wok-next annotate atftp/receipt @ rev 21402

updated php (7.4.4 -> 7.4.5)
author Hans-G?nter Theisgen
date Tue Apr 21 07:47:41 2020 +0100 (2020-04-21)
parents d2950281f122
children d769035d06d1
rev   line source
al@20464 1 # SliTaz package receipt v2.
pascal@7223 2
pascal@7223 3 PACKAGE="atftp"
al@20956 4 VERSION="0.7.1"
pascal@7223 5 CATEGORY="network"
al@20464 6 SHORT_DESC="Advanced Trivial File Transport Protocol"
pascal@7223 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15201 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://freshmeat.sourceforge.net/projects/atftp/"
al@20464 10
pascal@7223 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@7223 12 WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
erjo@9889 13
al@20956 14 BUILD_DEPENDS="pcre-dev readline-dev automake"
al@20464 15 SPLIT="atftpd"
pascal@7223 16
al@20464 17 compile_rules() {
al@20956 18 # sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
al@20956 19 # -e 's/^_*argz_next/__NTH(&/' argz.h
al@20956 20 # sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
pascal@19684 21 sed -i 's/D_REENTRANT/& -std=gnu89/' configure*
al@20956 22
al@20956 23 autoreconf -vi &&
al@20464 24 ./configure \
al@20464 25 $CONFIGURE_ARGS &&
pascal@7223 26 make &&
al@20956 27 make install
pascal@7223 28 }
pascal@7223 29
al@20464 30 genpkg_rules() {
al@20464 31 case $PACKAGE in
al@20464 32 atftp)
al@20956 33 copy atftp
al@20464 34 CAT="network|client"
al@20749 35 DEPENDS="readline"
al@20464 36 ;;
al@20464 37 atftpd)
al@20956 38 copy atftpd in.tftpd
al@20464 39 CAT="network|server"
al@20749 40 DEPENDS="libpcre"
al@20464 41 ;;
al@20464 42 esac
pascal@7223 43 }