wok-current view git-gui/receipt @ rev 13592

lessfs: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 08 10:00:51 2012 +0100 (2012-11-08)
parents 7233a836cfb2
children de49f29b101e
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 DEPENDS="tk git"
8 BUILD_DEPENDS="$DEPENDS"
9 WEB_SITE="http://www.kernel.org/pub/software/scm/git/docs/git-gui.html"
10 WGET_URL="git|http://repo.or.cz/r/git-gui.git"
11 BRANCH="gitgui-$VERSION"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make clean
18 make && make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs
25 cp -a $_pkg/usr $fs/
27 # Extra icons, .desktop file etc.:
28 cp -a $stuff/* $fs/usr
30 mkdir -p $fs/usr/bin
31 ln -s /usr/lib/git-core/git-gui /usr/lib/git-core/git-citool \
32 /usr/lib/git-core/git-gui--askpass $fs/usr/bin
33 }