wok-current view wput/receipt @ rev 20486

perl: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 26 10:09:53 2018 +0200 (2018-10-26)
parents e47c0281ba48
children 5f6c5106b1f5
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 rm -f $fs/usr/bin/wdel
33 ln -s wput $fs/usr/bin/wdel
34 }