wok-current rev 22030

updated tig (2.2 -> 2.4.1)
author Hans-G?nter Theisgen
date Sun Oct 20 17:18:53 2019 +0100 (2019-10-20)
parents 4e0a230340e9
children 742eacc7f0b9
files tig/receipt
line diff
     1.1 --- a/tig/receipt	Sun Oct 20 17:03:34 2019 +0100
     1.2 +++ b/tig/receipt	Sun Oct 20 17:18:53 2019 +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 -