]>
Commit | Line | Data |
---|---|---|
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 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = git | |
28 | PKG_VER = 1.7.3.2 | |
29 | PKG_REL = 0 | |
30 | ||
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = Development/Tools |
e2c1801f MT |
33 | PKG_URL = http://git-scm.com/ |
34 | PKG_LICENSE = GPLv2 | |
35 | PKG_SUMMARY = Fast Version Control System. | |
36 | ||
37 | PKG_BUILD_DEPS+= expat-devel gettext libcurl-devel openssl-devel zlib-devel | |
38 | PKG_DEPS += less openssh-clients rsync /usr/bin/vi | |
39 | ||
40 | define 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. | |
44 | endef | |
45 | ||
46 | PKG_TARBALL = $(THISAPP).tar.bz2 | |
47 | ||
48 | define 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 | |
63 | endef | |
64 | ||
65 | define STAGE_BUILD | |
66 | cd $(DIR_APP) && make $(PARALLELISMFLAGS) | |
67 | endef | |
68 | ||
69 | STAGE_INSTALL_TARGETS += INSTALLDIRS=vendor |