wok-next rev 19579

Up: groff, less.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 26 11:32:28 2016 +0200 (2016-12-26)
parents 12dc3b9e499d
children c401b815022b
files groff/receipt less/receipt
line diff
     1.1 --- a/groff/receipt	Mon Dec 26 10:36:28 2016 +0200
     1.2 +++ b/groff/receipt	Mon Dec 26 11:32:28 2016 +0200
     1.3 @@ -1,34 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="groff"
     1.7 -VERSION="1.21"
     1.8 +VERSION="1.22.3"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="The GNU troff text-formatting system."
    1.11  MAINTAINER="rocky@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://www.gnu.org/software/groff/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.gnu.org/software/groff/groff.html"
    1.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -BUILD_DEPENDS="ghostscript"
    1.20 +BUILD_DEPENDS="ghostscript perl texinfo"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -    cd $src
    1.26 -    touch doc/gnu.eps
    1.27 -    ./configure \
    1.28 -        --without-x \
    1.29 -        $CONFIGURE_ARGS &&
    1.30 -    make &&
    1.31 -    make install
    1.32 +	PAGE=A4 ./configure \
    1.33 +		--without-x \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	PATH=$PATH:$src/src/preproc/preconv make &&
    1.36 +	make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -    mkdir -p $fs/usr/share
    1.43 -    cp -a $install/usr/bin $fs/usr
    1.44 -    cp -a $install/usr/lib $fs/usr
    1.45 -    cp -a $install/usr/share/groff $fs/usr/share
    1.46 +	cook_copy_folders bin groff
    1.47  }
     2.1 --- a/less/receipt	Mon Dec 26 10:36:28 2016 +0200
     2.2 +++ b/less/receipt	Mon Dec 26 11:32:28 2016 +0200
     2.3 @@ -1,12 +1,13 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="less"
     2.7 -VERSION="444"
     2.8 +VERSION="481"
     2.9  CATEGORY="base-system"
    2.10  SHORT_DESC="A terminal based program for viewing text files"
    2.11  MAINTAINER="slaxemulator@gmail.com"
    2.12  LICENSE="GPL3"
    2.13  WEB_SITE="http://www.greenwoodsoftware.com/less"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16  WGET_URL="$WEB_SITE/$TARBALL"
    2.17  
    2.18 @@ -17,19 +18,16 @@
    2.19  compile_rules()
    2.20  {
    2.21  	./configure \
    2.22 -		--prefix=/usr \
    2.23  		--sysconfdir=/etc \
    2.24 -		--mandir=/usr/share/man \
    2.25  		--with-regex=pcre \
    2.26 -		$CONFIGURE_ARGS && 
    2.27 -	make && make prefix=$DESTDIR/usr mandir=$DESTDIR/usr/share/man install
    2.28 +		$CONFIGURE_ARGS &&
    2.29 +	make && make DESTDIR=$install install
    2.30  }
    2.31  
    2.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.33  genpkg_rules()
    2.34  {
    2.35 -	mkdir -p $fs/usr
    2.36 -	cp -a $install/usr/bin $fs/usr
    2.37 +	cook_copy_folders bin
    2.38  }
    2.39  
    2.40  post_remove()