wok-next annotate lftp/receipt @ rev 20180

opencc: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 12:28:56 2017 +0100 (2017-11-02)
parents dead8955c3ca
children 0ec6086e21d6
rev   line source
mimas@2027 1 # SliTaz package receipt.
mimas@2027 2
mimas@2027 3 PACKAGE="lftp"
pascal@20023 4 VERSION="4.8.3"
mimas@2027 5 CATEGORY="network"
mimas@2027 6 SHORT_DESC="Small but powerful ftp client"
mimas@2027 7 MAINTAINER="mimas@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
erjo@4298 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mimas@2027 10 WEB_SITE="http://lftp.yar.ru/"
pascal@20023 11 WGET_URL="${WEB_SITE}ftp/$TARBALL"
slaxemulator@12381 12 CROSS="bug: failed at test"
mimas@2027 13
slaxemulator@14619 14 DEPENDS="gmp readline expat gnutls gcc-lib-base"
slaxemulator@14619 15 BUILD_DEPENDS="gmp-dev ncurses-dev readline-dev expat-dev gperf gnutls-dev"
erjo@9918 16
mimas@2027 17 # Rules to configure and make the package.
mimas@2027 18 compile_rules()
mimas@2027 19 {
mimas@2027 20 ./configure \
slaxemulator@12381 21 --with-gnutls \
slaxemulator@10183 22 --without-openssl \
slaxemulator@12381 23 --build=$HOST_SYSTEM \
slaxemulator@12381 24 --host=$HOST_SYSTEM &&
pascal@15265 25 make &&
slaxemulator@9068 26 make install
mimas@2027 27 }
mimas@2027 28
mimas@2027 29 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2027 30 genpkg_rules()
mimas@2027 31 {
mimas@2027 32 mkdir -p $fs/usr
slaxemulator@12381 33 cp -a $install/usr/bin $fs/usr
mimas@2027 34 }