wok view tig/receipt @ rev 17058

syslinux/c32box: x86_64 auto select (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 21 10:08:05 2014 +0200 (2014-08-21)
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 }