wok-6.x annotate le/receipt @ rev 15245
arpwatch, le lftp: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 23 13:26:46 2013 +0000 (2013-09-23) |
parents | d1768332cee0 |
children | dead8955c3ca |
rev | line source |
---|---|
mimas@2026 | 1 # SliTaz package receipt. |
mimas@2026 | 2 |
mimas@2026 | 3 PACKAGE="le" |
pankso@4169 | 4 VERSION="1.14.2" |
mimas@2026 | 5 CATEGORY="utilities" |
mimas@2026 | 6 SHORT_DESC="Small editor using ncurses" |
mimas@2026 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@15245 | 8 LICENSE="GPL2" |
mimas@2026 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2026 | 10 WEB_SITE="ftp://ftp.yar.ru/pub/source/le/" |
mimas@2026 | 11 WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL" |
mimas@2026 | 12 |
pascal@15245 | 13 DEPENDS="ncurses gcc-lib-base" |
pascal@15245 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@15245 | 15 |
mimas@2026 | 16 # Rules to configure and make the package. |
mimas@2026 | 17 compile_rules() |
mimas@2026 | 18 { |
mimas@2026 | 19 cd $src |
slaxemulator@9700 | 20 patch -p 0 < $stuff/gcc-4.patch || return 1 |
mimas@2026 | 21 ./configure \ |
mimas@2026 | 22 --prefix=/usr \ |
mimas@2026 | 23 --infodir=/usr/share/info \ |
mimas@2026 | 24 --mandir=/usr/share/man \ |
pankso@4169 | 25 $CONFIGURE_ARGS && |
pascal@15245 | 26 make 2>&1 | grep -v "STRERROR" && |
pascal@15245 | 27 make DESTDIR=$DESTDIR install |
mimas@2026 | 28 } |
mimas@2026 | 29 |
mimas@2026 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2026 | 31 genpkg_rules() |
mimas@2026 | 32 { |
mimas@2026 | 33 mkdir -p $fs/usr/share |
pascal@15245 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15245 | 35 cp -a $install/usr/share/le $fs/usr/share |
mimas@2026 | 36 } |
mimas@2026 | 37 |