wok-current view tig/receipt @ rev 16698

Add tig
author Paul Issott <paul@slitaz.org>
date Fri May 23 21:43:55 2014 +0100 (2014-05-23)
parents
children 16c8ad9c7278
line source
1 # SliTaz package receipt.
3 PACKAGE="tig"
4 VERSION="2.0.2"
5 CATEGORY="network"
6 SHORT_DESC="A console UI for git."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://jonas.nitro.dk/tig/"
11 WGET_URL="$WEB_SITE/releases/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/etc
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/etc/tigrc $fs/etc
32 }