wok-undigest annotate wput/receipt @ rev 382

Add ucarp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 20 15:22:08 2011 +0200 (2011-08-20)
parents e7730ab4350e
children
rev   line source
erjo@24 1 # SliTaz package receipt.
erjo@24 2
erjo@24 3 PACKAGE="wput"
erjo@24 4 VERSION="0.6.2"
erjo@24 5 CATEGORY="network"
erjo@24 6 SHORT_DESC="A tiny wget-like ftp-client for uploading files"
erjo@24 7 MAINTAINER="l.lemarinel@gmail.com"
pascal@328 8 WEB_SITE="http://wput.sourceforge.net/"
erjo@24 9 TARBALL="${PACKAGE}-${VERSION}.tgz"
erjo@24 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@24 11 BUILD_DEPENDS=""
erjo@24 12 DEPENDS=""
erjo@24 13
erjo@24 14 # Rules to configure and make the package.
erjo@24 15 compile_rules()
erjo@24 16 {
erjo@24 17 cd $src
pascal@346 18 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
pascal@346 19 ./configure --prefix=/usr \
erjo@24 20 --disable-g-switch \
pascal@328 21 --without-ssl &&
pascal@328 22 make &&
pascal@328 23 make DESTDIR=$DESTDIR install
erjo@24 24 }
erjo@24 25
erjo@24 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@24 27 genpkg_rules()
erjo@24 28 {
erjo@24 29 mkdir -p $fs/usr
erjo@24 30 cp -a $_pkg/usr/bin $fs/usr
erjo@24 31 }