wok view atftp/receipt @ rev 15395

Add: mobile-broadband-provider-info-dev
author Dominique Corbex <domcox@slitaz.org>
date Sat Nov 02 20:33:46 2013 +0100 (2013-11-02)
parents 8cfefe3f7f3b
children 051931e905b0
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freshmeat.net/projects/atftp/"
11 WGET_URL="http://downloads.openwrt.org/sources/$TARBALL"
13 DEPENDS="ncurses readline"
14 BUILD_DEPENDS="pcre-dev readline-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 rm -rf _pkg 2> /dev/null
21 sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \
22 -e 's/^_*argz_next/__NTH(&/' argz.h
23 sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }