wok view less/receipt @ rev 22091

updated util-linux packages (2.28 -> 2.34)
author Hans-G?nter Theisgen
date Thu Oct 31 15:20:14 2019 +0100 (2019-10-31)
parents d6ca18366f41
children 0d3d26aa9e32
line source
1 # SliTaz package receipt.
3 PACKAGE="less"
4 VERSION="550"
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 }