wok view atftp/receipt @ rev 7223

Add atftp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 11 18:12:12 2010 +0100 (2010-11-11)
parents
children 83a5a446092c
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://freshmeat.net/projects/atftp/"
10 WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 rm -rf _pkg 2> /dev/null
17 sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
18 -e 's/^_*argz_next/__NTH(&/' argz.h
19 sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }