wok rev 1825

Add git
author Bill Nagel <b1+slitaz@nagel.org>
date Tue Dec 09 04:25:26 2008 -0800 (2008-12-09)
parents 2644b287815c
children f0f79e2d74df
files git/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/git/receipt	Tue Dec 09 04:25:26 2008 -0800
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="git"
     1.7 +VERSION="1.6.0.5"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Fast version control system"
    1.10 +MAINTAINER="b1+slitaz@nagel.org"
    1.11 +DEPENDS="zlib openssl curl expat"
    1.12 +BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl tar bzip2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://git.or.cz"
    1.15 +WGET_URL="http://kernel.org/pub/software/scm/git/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1
    1.22 +	make prefix=/usr THREADED_DELTA_SEARCH=1 NO_TCLTK=1 DESTDIR=$PWD/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs
    1.29 +	cp -a $_pkg/usr $fs/
    1.30 +	strip -s $fs/usr/bin/* $fs/usr/libexec/git-core/* || true
    1.31 +}