wok-6.x view lftp/receipt @ rev 2053

slim: backup config if exist (mainly keep screen config when upgrade)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 17 23:08:54 2009 +0100 (2009-01-17)
parents
children c64846047db4
line source
1 # SliTaz package receipt.
3 PACKAGE="lftp"
4 VERSION="3.7.7"
5 CATEGORY="network"
6 SHORT_DESC="Small but powerful ftp client"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="readline expat libiconv"
9 BUILD_DEPENDS="readline-dev expat-dev libiconv-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 }