wok-next annotate le/receipt @ rev 20661
Unification of the patch system
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 21:12:00 2018 +0300 (2018-05-10) |
parents | 17e313b5b9c1 |
children | d5aab818505e |
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" |
al@20661 | 21 |
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 |