wok-6.x diff wput/receipt @ rev 11505

wbekit-r: fix build
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Dec 22 13:01:39 2011 +0100 (2011-12-22)
parents
children b7319995b37e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wput/receipt	Thu Dec 22 13:01:39 2011 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wput"
     1.7 +VERSION="0.6.2"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A tiny wget-like ftp-client for uploading files"
    1.10 +MAINTAINER="l.lemarinel@gmail.com"
    1.11 +WEB_SITE="http://wput.sourceforge.net/"
    1.12 +TARBALL="${PACKAGE}-${VERSION}.tgz"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +BUILD_DEPENDS=""
    1.15 +DEPENDS=""
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
    1.22 +	./configure --prefix=/usr \
    1.23 +		--disable-g-switch \
    1.24 +		--without-ssl &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +}