wok view git/receipt @ rev 4186

slitaz-loram*: pre_install may hang with gnu patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 09:18:25 2009 +0200 (2009-09-23)
parents 381d4c714d7a
children 4767edda18d8
line source
1 # SliTaz package receipt.
3 PACKAGE="git"
4 VERSION="1.6.4.4"
5 CATEGORY="development"
6 SHORT_DESC="Fast version control system"
7 MAINTAINER="b1+slitaz@nagel.org"
8 DEPENDS="zlib openssl curl expat"
9 BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl tar bzip2"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://git.or.cz"
12 WGET_URL="http://kernel.org/pub/software/scm/git/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib/git \
21 --without-tcltk \
22 $CONFIGURE_ARGS &&
23 make THREADED_DELTA_SEARCH=1
24 make THREADED_DELTA_SEARCH=1 DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $_pkg/usr $fs/
32 strip -s $fs/usr/lib/git/git-core/*
33 }