wok-6.x view lftp/receipt @ rev 9051
squid-custom-errors: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:06:52 2011 +0100 (2011-03-04) |
parents | 4028956dac35 |
children | 67add2e0238f |
line source
1 # SliTaz package receipt.
3 PACKAGE="lftp"
4 VERSION="4.1.3"
5 CATEGORY="network"
6 SHORT_DESC="Small but powerful ftp client"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="readline expat gcc-lib-base"
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 }