wok-next diff tig/receipt @ rev 20992

eduke32: simplify bdeps, fix build for i486
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 04 11:45:29 2018 +0300 (2018-10-04)
parents 16c8ad9c7278
children d5aab818505e
line diff
     1.1 --- a/tig/receipt	Sun Oct 23 09:10:20 2016 +0100
     1.2 +++ b/tig/receipt	Thu Oct 04 11:45:29 2018 +0300
     1.3 @@ -1,33 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="tig"
     1.8  VERSION="2.2"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A console UI for git."
    1.11 +SHORT_DESC="A console UI for git"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://jonas.nitro.dk/tig/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://jonas.nitro.dk/tig/"
    1.18  WGET_URL="$WEB_SITE/releases/$TARBALL"
    1.19  
    1.20 -DEPENDS="ncurses"
    1.21  BUILD_DEPENDS="ncurses-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--sysconfdir=/etc \
    1.30 -	make && make DESTDIR=$DESTDIR install
    1.31 +compile_rules() {
    1.32 +	./configure $CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$DESTDIR install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr $fs/etc
    1.41 -	cp -a $install/usr/bin $fs/usr
    1.42 -	cp -a $install/etc/tigrc $fs/etc
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="ncurses"
    1.46  }
    1.47