wok view git-gui/receipt @ rev 12066

git-gui: fix symlinks, remove pre/post install (was copying icons all over dirs really necessary?)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 02:23:14 2012 +0100 (2012-03-09)
parents d1768332cee0
children 6a11e1ebf8ee
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/bin/git-citool \
32 /usr/lib/git-core/git-gui--askpass $fs/usr/bin
33 }