]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/git/git.nm
PKG_GROUP -> PKG_GROUPS on all packages.
[people/ms/ipfire-3.x.git] / pkgs / git / git.nm
CommitLineData
e2c1801f
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = git
28PKG_VER = 1.7.3.2
29PKG_REL = 0
30
31PKG_MAINTAINER =
bb7d617c 32PKG_GROUPS = Development/Tools
e2c1801f
MT
33PKG_URL = http://git-scm.com/
34PKG_LICENSE = GPLv2
35PKG_SUMMARY = Fast Version Control System.
36
37PKG_BUILD_DEPS+= expat-devel gettext libcurl-devel openssl-devel zlib-devel
38PKG_DEPS += less openssh-clients rsync /usr/bin/vi
39
40define PKG_DESCRIPTION
41 Git is a fast, scalable, distributed revision control system with an \
42 unusually rich command set that provides both high-level operations \
43 and full access to internals.
44endef
45
46PKG_TARBALL = $(THISAPP).tar.bz2
47
48define STAGE_PREPARE_CMDS
49 echo "CFLAGS = $(CFLAGS)" > $(DIR_APP)/config.mak
50 echo "BLK_SHA1 = 1" >> $(DIR_APP)/config.mak
51 echo "NEEDS_CRYPTO_WITH_SSL = 1" >> $(DIR_APP)/config.mak
52 echo "NO_PERL = 1" >> $(DIR_APP)/config.mak
53 echo "NO_PYTHON = 1" >> $(DIR_APP)/config.mak
54 echo "NO_TCLTK = 1" >> $(DIR_APP)/config.mak
55 echo "ETC_GITCONFIG = /etc/gitconfig" >> $(DIR_APP)/config.mak
56 echo "DESTDIR = $(BUILDROOT)" >> $(DIR_APP)/config.mak
57 echo "INSTALL = install -p" >> $(DIR_APP)/config.mak
58 echo "GITWEB_PROJECTROOT = /var/lib/git" >> $(DIR_APP)/config.mak
59 echo "htmldir = /usr/share/doc/$(THISAPP)" >> $(DIR_APP)/config.mak
60 echo "prefix = /usr" >> $(DIR_APP)/config.mak
61 echo "gitwebdir = /var/www/git" >> $(DIR_APP)/config.mak
62 echo "gitexecdir = lib/git-core" >> $(DIR_APP)/config.mak
63endef
64
65define STAGE_BUILD
66 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
67endef
68
69STAGE_INSTALL_TARGETS += INSTALLDIRS=vendor