wok-next view wput/receipt @ rev 20458

Unlock x86_64 architecture
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 12:12:14 2018 +0200 (2018-03-02)
parents e47c0281ba48
children 1eb4aacb48ed
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
17 ./configure \
18 --prefix=/usr \
19 --disable-g-switch \
20 --without-ssl \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }