wok-stable annotate wput/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 7aef52db895d
children 1c5686cd4004
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@11228 31 }