wok diff tig/receipt @ rev 23307

updated perl-date-calc (6.3 -> 6.4)
author Hans-G?nter Theisgen
date Sun Mar 29 17:44:34 2020 +0100 (2020-03-29)
parents 16c8ad9c7278
children 6bab837a85ec
line diff
     1.1 --- a/tig/receipt	Sun Oct 23 09:10:20 2016 +0100
     1.2 +++ b/tig/receipt	Sun Mar 29 17:44:34 2020 +0100
     1.3 @@ -1,33 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tig"
     1.7 -VERSION="2.2"
     1.8 +VERSION="2.4.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A console UI for git."
    1.11 +SHORT_DESC="Text-mode interface for git."
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://jonas.github.io/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 +WGET_URL="https://github.com/jonas/$PACKAGE/archive/$TARBALL"
    1.20  
    1.21  DEPENDS="ncurses"
    1.22 -BUILD_DEPENDS="ncurses-dev"
    1.23 +BUILD_DEPENDS="autoconf ncurses-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--sysconfdir=/etc \
    1.32 -	make && make DESTDIR=$DESTDIR install
    1.33 +	./autogen.sh &&
    1.34 +	./configure			\
    1.35 +		--prefix=/usr		\
    1.36 +		--sysconfdir=/etc &&
    1.37 +	make &&
    1.38 +	make DESTDIR=$DESTDIR install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr $fs/etc
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/etc/tigrc $fs/etc
    1.47 +	mkdir -p $fs/usr
    1.48 +	mkdir -p $fs/etc
    1.49 +
    1.50 +	cp -a $install/usr/bin		$fs/usr
    1.51 +	cp -a $install/etc/tigrc	$fs/etc
    1.52  }
    1.53 -