wok view less/receipt @ rev 23766
qemu/cloop: tiny fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 06 19:55:46 2020 +0000 (2020-05-06) |
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 }