wok annotate tig/receipt @ rev 25687

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