wok-6.x annotate lftp/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents ad8df8ffd0dd
children 4028956dac35
rev   line source
mimas@2027 1 # SliTaz package receipt.
mimas@2027 2
mimas@2027 3 PACKAGE="lftp"
slaxemulator@7372 4 VERSION="4.1.1"
mimas@2027 5 CATEGORY="network"
mimas@2027 6 SHORT_DESC="Small but powerful ftp client"
mimas@2027 7 MAINTAINER="mimas@slitaz.org"
pascal@5003 8 DEPENDS="readline expat gcc-lib-base"
pankso@3160 9 BUILD_DEPENDS="readline-dev expat-dev"
erjo@4298 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mimas@2027 11 WEB_SITE="http://lftp.yar.ru/"
mimas@2027 12 WGET_URL="http://ftp.yars.free.net/pub/source/lftp/$TARBALL"
mimas@2027 13
mimas@2027 14 # Rules to configure and make the package.
mimas@2027 15 compile_rules()
mimas@2027 16 {
mimas@2027 17 cd $src
mimas@2027 18 ./configure \
mimas@2027 19 --prefix=/usr \
mimas@2027 20 --infodir=/usr/share/info \
mimas@2027 21 --without-gnutls \
mimas@2027 22 --without-openssl \
mimas@2027 23 --mandir=/usr/share/man \
pascal@5003 24 $CONFIGURE_ARGS &&
pascal@5003 25 make &&
mimas@2027 26 make DESTDIR=$PWD/_pkg 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
mimas@2027 33 cp -a $_pkg/usr/bin $fs/usr
mimas@2027 34 strip -s $fs/usr/bin/*
mimas@2027 35 }
mimas@2027 36