wok-6.x view less/receipt @ rev 20491

libzim-dev: add libzim.pc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 27 23:06:17 2018 +0200 (2018-10-27)
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 }