wok-current view wput/receipt @ rev 19391

memtest: tiny shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 27 12:07:37 2016 +0200 (2016-08-27)
parents 2a21689b0af7
children a0fe56fb9c41
line source
1 # SliTaz package receipt.
3 PACKAGE="wput"
4 VERSION="0.6.2"
5 CATEGORY="network"
6 SHORT_DESC="A tiny wget-like ftp-client for uploading files"
7 MAINTAINER="l.lemarinel@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://wput.sourceforge.net/"
10 TARBALL="${PACKAGE}-${VERSION}.tgz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
18 ./configure \
19 --prefix=/usr \
20 --disable-g-switch \
21 --without-ssl \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }