wok view less/receipt @ rev 24097
Up hplip (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 13 17:18:37 2021 +0000 (2021-09-13) |
parents | 558fa8758c4d |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="less"
4 VERSION="551"
5 CATEGORY="base-system"
6 SHORT_DESC="A terminal based program for viewing text files."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.greenwoodsoftware.com/less"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 DEPENDS="ncurses pcre"
15 BUILD_DEPENDS="ncurses-dev pcre-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --with-regex=pcre \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make install \
28 prefix=$DESTDIR/usr \
29 mandir=$DESTDIR/usr/share/man
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }
39 post_remove()
40 {
41 ln -s /bin/busybox "$1/usr/bin/less"
42 }