wok-6.x annotate wput/receipt @ rev 11228
Add from wok-undigest: verbiste vsftpd wammu wol wput
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 04 12:36:01 2011 +0100 (2011-11-04) |
parents | |
children | b7319995b37e |
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 \ |
pascal@11228 | 21 --without-ssl && |
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 } |