wok-next view less/receipt @ rev 18941
Up transmission (2.90)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 02 16:55:03 2016 +0100 (2016-03-02) |
parents | 9e01bc6321ea |
children | 9ed08571171f |
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 }