wok-current view less/receipt @ rev 21249

updated libmicrohttpd and libmicrohttpd-dev (0.9.33 -> 0.9.63)
author Hans-G?nter Theisgen
date Thu Apr 11 17:56:29 2019 +0100 (2019-04-11)
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 }