wok annotate tig/receipt @ rev 18157

Up: tazlito (386), slitaz-base-files (278)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jun 21 23:00:51 2015 +0300 (2015-06-21)
parents
children 16c8ad9c7278
rev   line source
paul@16698 1 # SliTaz package receipt.
paul@16698 2
paul@16698 3 PACKAGE="tig"
paul@16698 4 VERSION="2.0.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