git: install by setting DESTDIR, avoids building twice and really works.

--HG--
extra : convert_revision : 6e059d28632712eb79d9207aaf3e94916aaef949
This commit is contained in:
Juan RP 2009-02-25 16:39:15 +01:00
parent 4d29f69f32
commit 56fb2c5ebe
1 changed files with 8 additions and 4 deletions

View File

@ -1,14 +1,15 @@
# Template build file for 'git".
pkgname=git
version=1.6.1.2
version=1.6.1.3
distfiles="
http://www.kernel.org/pub/software/scm/git/$pkgname-$version.tar.bz2"
build_style=gnu_configure
make_env="THREADED_DELTA_SEARCH=1"
configure_args="--with-shell=/bin/sh --with-curl --with-expat --without-tcltk"
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="GIT Tree History Storage Tool"
maintainer="Daniel Horecki <morr@morr.pl>"
checksum=5b943fdfd8d347e59dda6c7547342ccdbc7c40aa1a24344e09bdce18dde8b4dd
checksum=aef4814634ac9ce8119fabc4bd1c363bb946f73ed34475a4baaad09a3fb23682
long_desc="
GIT is a \"directory content manager\" designed to handle absolutely massive
projects with speed and efficiency, and the release of the 2.6.12 (and later)
@ -20,5 +21,8 @@ long_desc="
GIT working directory is a full-fledged repository with full revision tracking
capabilities, not dependent on network access to a central server."
build_depends="curl-7.18.0 expat-2.0.1 perl-5.10.0"
run_depends="glibc-2.8 $build_depends"
Add_dependency full glibc
Add_dependency full expat
Add_dependency full perl
Add_dependency build curl
Add_dependency run curl-libs