wok annotate wput/receipt @ rev 15363
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 03 09:52:57 2013 +0000 (2013-10-03) |
parents | b7319995b37e |
children | e47c0281ba48 |
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@15363 | 8 LICENSE="GPL2" |
pascal@11228 | 9 WEB_SITE="http://wput.sourceforge.net/" |
pascal@11228 | 10 TARBALL="${PACKAGE}-${VERSION}.tgz" |
pascal@11228 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15363 | 12 |
pascal@11228 | 13 BUILD_DEPENDS="" |
pascal@11228 | 14 DEPENDS="" |
pascal@11228 | 15 |
pascal@11228 | 16 # Rules to configure and make the package. |
pascal@11228 | 17 compile_rules() |
pascal@11228 | 18 { |
pascal@11228 | 19 cd $src |
pascal@11228 | 20 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in |
pascal@11228 | 21 ./configure --prefix=/usr \ |
pascal@11228 | 22 --disable-g-switch \ |
gokhlayeh@11573 | 23 --without-ssl $CONFIGURE_ARGS && |
pascal@11228 | 24 make && |
pascal@11228 | 25 make DESTDIR=$DESTDIR install |
pascal@11228 | 26 } |
pascal@11228 | 27 |
pascal@11228 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 29 genpkg_rules() |
pascal@11228 | 30 { |
pascal@11228 | 31 mkdir -p $fs/usr |
pascal@15363 | 32 cp -a $install/usr/bin $fs/usr |
pascal@11228 | 33 } |