wok view git/receipt @ rev 11507

kino: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 22 22:51:14 2011 +0100 (2011-12-22)
parents 59092b890afd
children 68f2ff5fa326
line source
1 # SliTaz package receipt.
3 PACKAGE="git"
4 VERSION="1.7.7.2"
5 CATEGORY="development"
6 SHORT_DESC="Fast version control system"
7 MAINTAINER="b1+slitaz@nagel.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://git.or.cz"
10 WGET_URL="http://git-core.googlecode.com/files/$TARBALL"
11 CROSS="bug: can't run test and make package."
13 DEPENDS="zlib openssl curl expat"
14 BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev tar bzip2"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 [ -L /bin/tar ] && tazpkg get-install tar --forced
21 ./configure \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/git \
24 --without-tcltk \
25 --build=$HOST_SYSTEM \
26 --host=$HOST_SYSTEM &&
27 make THREADED_DELTA_SEARCH=1
28 make THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs
35 cp -a $install/usr $fs/
36 strip -s $fs/usr/lib/git/git-core/* 2>/dev/null || true
37 }