wok view gource/receipt @ rev 11425

sagan*: Cd to $src in compile_rules.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Dec 14 05:23:20 2011 +0000 (2011-12-14)
parents b6a72a5743fd
children 679eac52e631
line source
1 # SliTaz package receipt.
3 PACKAGE="gource"
4 VERSION="0.37"
5 CATEGORY="development"
6 SHORT_DESC="software version control visualization"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://code.google.com/p/gource/"
10 WGET_URL="http://gource.googlecode.com/files/$TARBALL"
12 DEPENDS="ftgl libsdl libsdl-image pcre glew"
13 BUILD_DEPENDS="mesa-dev ftgl-dev libsdl-image-dev pcre-dev glew-dev libsdl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/gource $fs/usr/share
29 }