wok-6.x view tig/receipt @ rev 18631
tazpanel/post_install: clear cache
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 25 10:32:45 2015 +0100 (2015-11-25) |
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 }