wok view atftp/receipt @ rev 18721

fix receipt for aescrypt v3.10 part2
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Dec 17 20:56:43 2015 +0000 (2015-12-17)
parents 051931e905b0
children 7f39549720b8
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses readline"
15 BUILD_DEPENDS="pcre-dev readline-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 }