wok-4.x view git/receipt @ rev 11643

asunder, beaver, leafpad, mhwaveedit: Fixed receipts. (desktop file should be copied by cook)
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 03 12:29:45 2012 -0500 (2012-02-03)
parents abec196e157e
children d4bb4d4d8235
line source
1 # SliTaz package receipt.
3 PACKAGE="git"
4 VERSION="1.7.9"
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 }