wok annotate tig/receipt @ rev 24173
updated outguess again (0.2 -> 0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 09:24:42 2021 +0100 (2021-12-29) |
parents | 4430100694d2 |
children | 952ee6c09c89 |
rev | line source |
---|---|
paul@16698 | 1 # SliTaz package receipt. |
paul@16698 | 2 |
paul@16698 | 3 PACKAGE="tig" |
Hans-G?nter@23699 | 4 VERSION="2.5.1" |
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" |
pascal@23507 | 15 BUILD_DEPENDS="libtool ncurses-dev" |
paul@16698 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/tig-\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
paul@16698 | 23 # Rules to configure and make the package. |
paul@16698 | 24 compile_rules() |
paul@16698 | 25 { |
Hans-G?nter@22030 | 26 ./autogen.sh && |
Hans-G?nter@22030 | 27 ./configure \ |
Hans-G?nter@22030 | 28 --prefix=/usr \ |
Hans-G?nter@22030 | 29 --sysconfdir=/etc && |
Hans-G?nter@22030 | 30 make && |
Hans-G?nter@22030 | 31 make DESTDIR=$DESTDIR install |
paul@16698 | 32 } |
paul@16698 | 33 |
paul@16698 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16698 | 35 genpkg_rules() |
paul@16698 | 36 { |
Hans-G?nter@22030 | 37 mkdir -p $fs/usr |
Hans-G?nter@22030 | 38 mkdir -p $fs/etc |
Hans-G?nter@22030 | 39 |
Hans-G?nter@22030 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22030 | 41 cp -a $install/etc/tigrc $fs/etc |
paul@16698 | 42 } |