wok-next annotate le/receipt @ rev 19400
memtest: DOS shutdown (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 11:26:12 2016 +0200 (2016-09-03) |
parents | 1f57a2d79cf7 |
children | d6378d455338 |
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" |
al@17501 | 12 TAGS="text-editor" |
mimas@2026 | 13 |
pascal@15245 | 14 DEPENDS="ncurses gcc-lib-base" |
pascal@15245 | 15 BUILD_DEPENDS="ncurses-dev" |
pascal@15245 | 16 |
mimas@2026 | 17 # Rules to configure and make the package. |
mimas@2026 | 18 compile_rules() |
mimas@2026 | 19 { |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
slaxemulator@9700 | 21 patch -p 0 < $stuff/gcc-4.patch || return 1 |
mimas@2026 | 22 ./configure \ |
mimas@2026 | 23 --prefix=/usr \ |
mimas@2026 | 24 --infodir=/usr/share/info \ |
mimas@2026 | 25 --mandir=/usr/share/man \ |
pankso@4169 | 26 $CONFIGURE_ARGS && |
pascal@15265 | 27 make && |
pascal@15245 | 28 make DESTDIR=$DESTDIR install |
mimas@2026 | 29 } |
mimas@2026 | 30 |
mimas@2026 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2026 | 32 genpkg_rules() |
mimas@2026 | 33 { |
mimas@2026 | 34 mkdir -p $fs/usr/share |
pascal@15245 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15245 | 36 cp -a $install/usr/share/le $fs/usr/share |
mimas@2026 | 37 } |
mimas@2026 | 38 |