wok-4.x view lftp/receipt @ rev 4833
Fix: Add missing BUILD_DEPENDS to Beaver. Fix build build failed with DESTDIR
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 22 10:21:56 2010 +0100 (2010-01-22) |
parents | c64846047db4 |
children | 8752c40cc534 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lftp"
4 VERSION="4.0.2"
5 CATEGORY="network"
6 SHORT_DESC="Small but powerful ftp client"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="readline expat"
9 BUILD_DEPENDS="readline-dev expat-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://lftp.yar.ru/"
12 WGET_URL="http://ftp.yars.free.net/pub/source/lftp/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --without-gnutls \
22 --without-openssl \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 strip -s $fs/usr/bin/*
35 }