wok-current annotate less/receipt @ rev 23111
updated libtorrent-rasterbar and libtorrent-rasterbar-dev (1.2.0 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 12 16:16:29 2020 +0100 (2020-03-12) |
parents | 558fa8758c4d |
children | 453c249b6219 |
rev | line source |
---|---|
slaxemulator@11254 | 1 # SliTaz package receipt. |
slaxemulator@11254 | 2 |
slaxemulator@11254 | 3 PACKAGE="less" |
Hans-G?nter@22998 | 4 VERSION="551" |
slaxemulator@11254 | 5 CATEGORY="base-system" |
Hans-G?nter@21105 | 6 SHORT_DESC="A terminal based program for viewing text files." |
slaxemulator@11254 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
slaxemulator@11254 | 9 WEB_SITE="http://www.greenwoodsoftware.com/less" |
Hans-G?nter@21105 | 10 |
slaxemulator@11254 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11254 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
slaxemulator@11254 | 13 |
slaxemulator@11254 | 14 DEPENDS="ncurses pcre" |
slaxemulator@11254 | 15 BUILD_DEPENDS="ncurses-dev pcre-dev" |
slaxemulator@11254 | 16 |
slaxemulator@11254 | 17 # Rules to configure and make the package. |
slaxemulator@11254 | 18 compile_rules() |
slaxemulator@11254 | 19 { |
Hans-G?nter@21105 | 20 ./configure \ |
Hans-G?nter@21105 | 21 --prefix=/usr \ |
Hans-G?nter@21105 | 22 --sysconfdir=/etc \ |
Hans-G?nter@21105 | 23 --mandir=/usr/share/man \ |
Hans-G?nter@21105 | 24 --with-regex=pcre \ |
Hans-G?nter@21105 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21105 | 26 make -j 1 && |
Hans-G?nter@21105 | 27 make install \ |
Hans-G?nter@21105 | 28 prefix=$DESTDIR/usr \ |
Hans-G?nter@21105 | 29 mandir=$DESTDIR/usr/share/man |
slaxemulator@11254 | 30 } |
slaxemulator@11254 | 31 |
slaxemulator@11254 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11254 | 33 genpkg_rules() |
slaxemulator@11254 | 34 { |
slaxemulator@11254 | 35 mkdir -p $fs/usr |
slaxemulator@11254 | 36 cp -a $install/usr/bin $fs/usr |
slaxemulator@11254 | 37 } |
slaxemulator@11254 | 38 |
slaxemulator@11254 | 39 post_remove() |
slaxemulator@11254 | 40 { |
pascal@18730 | 41 ln -s /bin/busybox "$1/usr/bin/less" |
slaxemulator@11254 | 42 } |