wok view atftp/receipt @ rev 9285

backuppc: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 10:38:51 2011 +0100 (2011-03-16)
parents c4d1a14891bc
children 8cfefe3f7f3b
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"
11 DEPENDS="ncurses"
12 BUILD_DEPENDS="pcre-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 rm -rf _pkg 2> /dev/null
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 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 }