summaryrefslogtreecommitdiffstats
path: root/core/git/APKBUILD
blob: d21f5ac206e8d25f170a6a10ee7a5d719d317d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=git
pkgver=1.6.1
pkgrel=0
pkgdesc="GIT - the stupid content tracker"
url="http://git.or.cz/"
license="GPL2"
depends="zlib openssl"
makedepends="zlib-dev openssl-dev"
source="http://kernel.org/pub/software/scm/git/git-$pkgver.tar.bz2
	git-1.6.0.4-noperl.patch
	bb-tar.patch
	"

build () 
{
	local makeopts="NO_ICONV=YesPlease 
			NO_CURL=YesPlease
			NO_TCLTK=YesPlease 
			NO_PERL=YesPlease 
			NO_SVN_TESTS=YesPlease"

	cd $srcdir/$pkgname-$pkgver
	patch -p1 < ../git-1.6.0.4-noperl.patch || return 1
	patch -p1 < ../bb-tar.patch || return 1

	make prefix=/usr DESTDIR="$pkgdir" $makeopts || return 1
	make prefix=/usr DESTDIR="$pkgdir" $makeopts install

}

md5sums="66265d85593473b23290232b9dccef77  git-1.6.1.tar.bz2
89fe31c2317c285ed18527a700da7844  git-1.6.0.4-noperl.patch
04e1bdf76a0bac568f8488daad07dce7  bb-tar.patch"