wok view git/receipt @ rev 6612
Fixed giflib-dev, jpeg-dev, libpng-dev, tiff-dev, and zlib-dev. I made there wanted package be depends also since you need the .so files to compile things also most of the time.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 19:37:19 2010 +0000 (2010-10-09) |
parents | 8240fe318d29 |
children | 914973b8364b |
line source
1 # SliTaz package receipt.
3 PACKAGE="git"
4 VERSION="1.7.3.1"
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 python-dev 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 [ -L /bin/tar ] && tazpkg get-install tar --forced
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/git \
22 --without-tcltk \
23 $CONFIGURE_ARGS &&
24 make THREADED_DELTA_SEARCH=1
25 make THREADED_DELTA_SEARCH=1 DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs
32 cp -a $_pkg/usr $fs/
33 strip -s $fs/usr/lib/git/git-core/*
34 }