wok view less/receipt @ rev 20990

updated gperf (3.0.4 -> 3.1)
author Hans-G?nter Theisgen
date Thu Mar 07 15:57:07 2019 +0100 (2019-03-07)
parents 9e01bc6321ea
children 558fa8758c4d
line source
1 # SliTaz package receipt.
3 PACKAGE="less"
4 VERSION="444"
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"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="ncurses pcre"
14 BUILD_DEPENDS="ncurses-dev pcre-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --with-regex=pcre \
24 $CONFIGURE_ARGS &&
25 make && make prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox "$1/usr/bin/less"
38 }