wok-next diff asciidoc/receipt @ rev 19766

Up cookutils.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 12 11:40:38 2017 +0300 (2017-06-12)
parents 11b5e93cb5f2
children f463de72afe3
line diff
     1.1 --- a/asciidoc/receipt	Tue Jul 05 15:34:01 2016 +0300
     1.2 +++ b/asciidoc/receipt	Mon Jun 12 11:40:38 2017 +0300
     1.3 @@ -7,25 +7,27 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="http://www.methods.co.nz/asciidoc/"
     1.7 +
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9 -WGET_URL="$SF_MIRROR/project/asciidoc/asciidoc/$VERSION/$TARBALL"
    1.10 +WGET_URL="$SF_MIRROR/asciidoc/$TARBALL"
    1.11  
    1.12  DEPENDS="python"
    1.13 -BUILD_DEPENDS=""
    1.14 +BUILD_DEPENDS="python"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19  	./configure \
    1.20  		--sysconfdir=/etc \
    1.21 +		--docdir=/usr/share/doc/asciidoc-$VERSION \
    1.22  		$CONFIGURE_ARGS &&
    1.23 -	make install
    1.24 +	make &&
    1.25 +	make install &&
    1.26 +	make DESTDIR=$install docs
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr
    1.33 -	cp -a $install/etc $fs
    1.34 -	cp -a $install/usr/bin $fs/usr
    1.35 +	cook_copy_folders etc bin
    1.36  }