wok-6.x annotate wput/receipt @ rev 18701
Up tazpkg(889)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 16 12:18:23 2015 +0200 (2015-12-16) |
parents | 2a21689b0af7 |
children | a0fe56fb9c41 |
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" |
pankso@16027 | 12 HOST_ARCH="i486 arm" |
pascal@11228 | 13 |
pascal@11228 | 14 # Rules to configure and make the package. |
pascal@11228 | 15 compile_rules() |
pascal@11228 | 16 { |
pascal@11228 | 17 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in |
pankso@16027 | 18 ./configure \ |
pankso@16027 | 19 --prefix=/usr \ |
pascal@11228 | 20 --disable-g-switch \ |
pankso@16027 | 21 --without-ssl \ |
pankso@16027 | 22 $CONFIGURE_ARGS && |
pascal@11228 | 23 make && |
pascal@11228 | 24 make DESTDIR=$DESTDIR install |
pascal@11228 | 25 } |
pascal@11228 | 26 |
pascal@11228 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 28 genpkg_rules() |
pascal@11228 | 29 { |
pascal@11228 | 30 mkdir -p $fs/usr |
pascal@15363 | 31 cp -a $install/usr/bin $fs/usr |
pascal@11228 | 32 } |