wok-current view git-gui/receipt @ rev 24642
updated hfsprescue (3.4 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 17:03:53 2022 +0100 (2022-03-09) |
parents | b9659e3c2111 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="git-gui"
4 VERSION="0.21.0"
5 CATEGORY="development"
6 SHORT_DESC="Graphical interface for the Git dRCS."
7 MAINTAINER="ben@seawolfsanctuary.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.kernel.org/pub/software/scm/git/docs/git-gui.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="git|git://repo.or.cz/git-gui.git"
13 BRANCH="gitgui-$VERSION"
15 DEPENDS="tk git"
16 BUILD_DEPENDS="$DEPENDS"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://repo.or.cz/git-gui.git/shortlog 2>/dev/null | \
22 sed '/<td title=/!d;s|.*<i>||;s|</.*||;s|-||g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make clean
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $install/usr $fs/
39 # Extra icons, .desktop file etc.:
40 cp -a $stuff/* $fs/usr
42 mkdir -p $fs/usr/bin
44 ln -s /usr/lib/git-core/git-gui \
45 /usr/lib/git-core/git-citool \
46 /usr/lib/git-core/git-gui--askpass \
47 $fs/usr/bin
48 }