wok-next diff bison/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents 7387df590f12
children e7a485521d6a
line diff
     1.1 --- a/bison/receipt	Tue Jun 06 17:37:54 2017 +0300
     1.2 +++ b/bison/receipt	Sun May 27 12:13:53 2018 +0300
     1.3 @@ -7,26 +7,20 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="GPL3"
     1.6  WEB_SITE="https://www.gnu.org/software/bison/"
     1.7 -TAGS="parser language"
     1.8 -HOST_ARCH="i486 arm"
     1.9 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/bison.html"
    1.10  
    1.11  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.12  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.13  
    1.14  BUILD_DEPENDS="m4 perl libxslt gettext"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 -	./configure \
    1.20 -		--docdir=/usr/share/doc/bison-$VERSION \
    1.21 -		$CONFIGURE_ARGS &&
    1.22 -	make && make install
    1.23 +compile_rules() {
    1.24 +	./configure $CONFIGURE_ARGS && make && make install
    1.25  }
    1.26  
    1.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 -genpkg_rules()
    1.29 -{
    1.30 -	copy bin/ lib/ aclocal/ bison/
    1.31 +genpkg_rules() {
    1.32 +	copy @std @dev
    1.33 +	rm -rf $fs/usr/share/doc # one *.h file copied here with @dev
    1.34  	DEPENDS="m4"
    1.35 +	TAGS="LFS parser language"
    1.36  }