wok-next annotate less/receipt @ rev 20972
Improve Python packages: update, also provide Python3 packages where available
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 22 16:05:26 2018 +0300 (2018-09-22) |
parents | 342b30daff76 |
children | d5aab818505e |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
slaxemulator@11254 | 2 |
slaxemulator@11254 | 3 PACKAGE="less" |
al@20863 | 4 VERSION="530" |
slaxemulator@11254 | 5 CATEGORY="base-system" |
slaxemulator@11254 | 6 SHORT_DESC="A terminal based program for viewing text files" |
slaxemulator@11254 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
slaxemulator@11254 | 9 WEB_SITE="http://www.greenwoodsoftware.com/less" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/less.html" |
al@20436 | 11 HOST_ARCH="i486 x86_64" |
al@19579 | 12 |
slaxemulator@11254 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11254 | 14 WGET_URL="$WEB_SITE/$TARBALL" |
slaxemulator@11254 | 15 |
slaxemulator@11254 | 16 BUILD_DEPENDS="ncurses-dev pcre-dev" |
slaxemulator@11254 | 17 |
al@20436 | 18 compile_rules() { |
slaxemulator@11254 | 19 ./configure \ |
slaxemulator@11254 | 20 --with-regex=pcre \ |
al@19579 | 21 $CONFIGURE_ARGS && |
al@20534 | 22 make && |
al@20534 | 23 make DESTDIR=$install install |
slaxemulator@11254 | 24 } |
slaxemulator@11254 | 25 |
al@20436 | 26 genpkg_rules() { |
al@19745 | 27 copy @std |
al@20749 | 28 DEPENDS="libpcre ncurses" |
al@20436 | 29 TAGS="LFS" |
slaxemulator@11254 | 30 } |