wok-next view 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 | 2a21689b0af7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wput"
4 VERSION="0.6.2"
5 CATEGORY="network"
6 SHORT_DESC="A tiny wget-like ftp-client for uploading files"
7 MAINTAINER="l.lemarinel@gmail.com"
8 WEB_SITE="http://wput.sourceforge.net/"
9 TARBALL="${PACKAGE}-${VERSION}.tgz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 BUILD_DEPENDS=""
12 DEPENDS=""
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
19 ./configure --prefix=/usr \
20 --disable-g-switch \
21 --without-ssl $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }