wok-next view less/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents d6ca18366f41
children 9a17d981d0f7
line source
1 # SliTaz package receipt.
3 PACKAGE="less"
4 VERSION="481"
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 --sysconfdir=/etc \
22 --with-regex=pcre \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cook_copy_folders bin
31 }
33 post_remove()
34 {
35 ln -s /bin/busybox "$1/usr/bin/less"
36 }