wok view tig/receipt @ rev 25688
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 12 10:06:53 2024 +0000 (7 months ago) |
parents | 952ee6c09c89 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tig"
4 VERSION="2.5.6"
5 CATEGORY="network"
6 SHORT_DESC="Text-mode interface for git."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://jonas.github.io/tig/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/jonas/$PACKAGE/archive/$TARBALL"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="automake ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_files tigrc
40 }