wok-next diff tig/receipt @ rev 17987

slitaz-base-files: up (267), fix HTTP POST form bug.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 22 11:58:12 2015 +0300 (2015-04-22)
parents
children 16c8ad9c7278
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tig/receipt	Wed Apr 22 11:58:12 2015 +0300
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tig"
     1.7 +VERSION="2.0.2"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A console UI for git."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://jonas.nitro.dk/tig/"
    1.14 +WGET_URL="$WEB_SITE/releases/$TARBALL"
    1.15 +
    1.16 +DEPENDS="ncurses"
    1.17 +BUILD_DEPENDS="ncurses-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 +		--sysconfdir=/etc \
    1.26 +	make && make DESTDIR=$DESTDIR install
    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 $fs/etc
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $install/etc/tigrc $fs/etc
    1.35 +}
    1.36 +