wok-stable annotate wput/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents b7319995b37e
children
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@11228 8 WEB_SITE="http://wput.sourceforge.net/"
pascal@11228 9 TARBALL="${PACKAGE}-${VERSION}.tgz"
pascal@11228 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11228 11 BUILD_DEPENDS=""
pascal@11228 12 DEPENDS=""
pascal@11228 13
pascal@11228 14 # Rules to configure and make the package.
pascal@11228 15 compile_rules()
pascal@11228 16 {
pascal@11228 17 cd $src
pascal@11228 18 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
pascal@11228 19 ./configure --prefix=/usr \
pascal@11228 20 --disable-g-switch \
gokhlayeh@11573 21 --without-ssl $CONFIGURE_ARGS &&
pascal@11228 22 make &&
pascal@11228 23 make DESTDIR=$DESTDIR install
pascal@11228 24 }
pascal@11228 25
pascal@11228 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11228 27 genpkg_rules()
pascal@11228 28 {
pascal@11228 29 mkdir -p $fs/usr
pascal@11228 30 cp -a $_pkg/usr/bin $fs/usr
pascal@12460 31 rm -f $fs/usr/bin/wdel
pascal@12460 32 ln -s wput $fs/usr/bin/wdel
pascal@11228 33 }