wok annotate tig/receipt @ rev 19461
Up tig (2.2)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Oct 23 09:10:20 2016 +0100 (2016-10-23) |
parents | ef46152045ad |
children | 910d5151e168 |
rev | line source |
---|---|
paul@16698 | 1 # SliTaz package receipt. |
paul@16698 | 2 |
paul@16698 | 3 PACKAGE="tig" |
paul@19461 | 4 VERSION="2.2" |
paul@16698 | 5 CATEGORY="network" |
paul@16698 | 6 SHORT_DESC="A console UI for git." |
paul@16698 | 7 MAINTAINER="paul@slitaz.org" |
paul@16698 | 8 LICENSE="GPL2" |
paul@16698 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@16698 | 10 WEB_SITE="http://jonas.nitro.dk/tig/" |
paul@16698 | 11 WGET_URL="$WEB_SITE/releases/$TARBALL" |
paul@16698 | 12 |
paul@16698 | 13 DEPENDS="ncurses" |
paul@16698 | 14 BUILD_DEPENDS="ncurses-dev" |
paul@16698 | 15 |
paul@16698 | 16 # Rules to configure and make the package. |
paul@16698 | 17 compile_rules() |
paul@16698 | 18 { |
paul@16698 | 19 cd $src |
paul@16698 | 20 ./configure \ |
paul@16698 | 21 --prefix=/usr \ |
paul@16698 | 22 --sysconfdir=/etc \ |
paul@16698 | 23 make && make DESTDIR=$DESTDIR install |
paul@16698 | 24 } |
paul@16698 | 25 |
paul@16698 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16698 | 27 genpkg_rules() |
paul@16698 | 28 { |
paul@16698 | 29 mkdir -p $fs/usr $fs/etc |
paul@16698 | 30 cp -a $install/usr/bin $fs/usr |
paul@16698 | 31 cp -a $install/etc/tigrc $fs/etc |
paul@16698 | 32 } |
paul@16698 | 33 |