wok-6.x annotate wput/receipt @ rev 21309

1) libfm-extra: fix build while using development sources
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 18 17:17:32 2019 +0300 (2019-04-18)
parents e47c0281ba48
children 5f6c5106b1f5
rev   line source
pascal@11228 1 # SliTaz package receipt.
pascal@11228 2
pascal@11228 3 PACKAGE="wput"
pascal@11228 4 VERSION="0.6.2"
pascal@11228 5 CATEGORY="network"
pascal@11228 6 SHORT_DESC="A tiny wget-like ftp-client for uploading files"
pascal@11228 7 MAINTAINER="l.lemarinel@gmail.com"
pascal@15363 8 LICENSE="GPL2"
pascal@11228 9 WEB_SITE="http://wput.sourceforge.net/"
pascal@11228 10 TARBALL="${PACKAGE}-${VERSION}.tgz"
pascal@11228 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16027 12 HOST_ARCH="i486 arm"
pascal@11228 13
pascal@11228 14 # Rules to configure and make the package.
pascal@11228 15 compile_rules()
pascal@11228 16 {
pascal@11228 17 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
pankso@16027 18 ./configure \
pankso@16027 19 --prefix=/usr \
pascal@11228 20 --disable-g-switch \
pankso@16027 21 --without-ssl \
pankso@16027 22 $CONFIGURE_ARGS &&
pascal@11228 23 make &&
pascal@11228 24 make DESTDIR=$DESTDIR install
pascal@11228 25 }
pascal@11228 26
pascal@11228 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11228 28 genpkg_rules()
pascal@11228 29 {
pascal@11228 30 mkdir -p $fs/usr
pascal@15363 31 cp -a $install/usr/bin $fs/usr
pascal@19933 32 rm -f $fs/usr/bin/wdel
pascal@19933 33 ln -s wput $fs/usr/bin/wdel
pascal@11228 34 }