wok view less/receipt @ rev 24382
updated bluefish (2.2.10 -> 2.2.12)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 10:59:31 2022 +0100 (2022-02-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 }