wok-next view git-gui/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | 6a11e1ebf8ee |
children | cfc6ddf8de74 |
line source
1 # SliTaz package receipt.
2 PACKAGE="git-gui"
3 VERSION="0.13.0"
4 CATEGORY="development"
5 SHORT_DESC="Graphical interface for the Git dRCS."
6 MAINTAINER="ben@seawolfsanctuary.com"
7 LICENSE="BSD"
8 WEB_SITE="http://www.kernel.org/pub/software/scm/git/docs/git-gui.html"
9 WGET_URL="git|http://repo.or.cz/r/git-gui.git"
10 BRANCH="gitgui-$VERSION"
12 DEPENDS="tk git"
13 BUILD_DEPENDS="$DEPENDS"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make clean
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $install/usr $fs/
29 # Extra icons, .desktop file etc.:
30 cp -a $stuff/* $fs/usr
32 mkdir -p $fs/usr/bin
33 ln -s /usr/lib/git-core/git-gui /usr/lib/git-core/git-citool \
34 /usr/lib/git-core/git-gui--askpass $fs/usr/bin
35 }