]>
Commit | Line | Data |
---|---|---|
e2c1801f | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
e2c1801f MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = git |
7 | version = 1.7.3.2 | |
8 | release = 1 | |
e2c1801f | 9 | |
802ea3af MT |
10 | groups = Development/Tools |
11 | url = http://git-scm.com/ | |
12 | license = GPLv2 | |
13 | summary = Fast Version Control System. | |
e2c1801f | 14 | |
802ea3af | 15 | description |
e2c1801f MT |
16 | Git is a fast, scalable, distributed revision control system with an \ |
17 | unusually rich command set that provides both high-level operations \ | |
18 | and full access to internals. | |
802ea3af MT |
19 | end |
20 | ||
21 | source_dl = | |
22 | sources = %{thisapp}.tar.bz2 | |
23 | ||
24 | build | |
25 | requires | |
26 | expat-devel | |
27 | gettext | |
28 | libcurl-devel | |
29 | openssl-devel | |
30 | perl-devel | |
31 | zlib-devel | |
32 | end | |
e2c1801f | 33 | |
802ea3af MT |
34 | prepare_cmds |
35 | echo "CFLAGS = %{CFLAGS}" > %{DIR_APP}/config.mak | |
36 | echo "BLK_SHA1 = 1" >> %{DIR_APP}/config.mak | |
37 | echo "NEEDS_CRYPTO_WITH_SSL = 1" >> %{DIR_APP}/config.mak | |
38 | echo "NO_PYTHON = 1" >> %{DIR_APP}/config.mak | |
39 | echo "NO_TCLTK = 1" >> %{DIR_APP}/config.mak | |
40 | echo "ETC_GITCONFIG = /etc/gitconfig" >> %{DIR_APP}/config.mak | |
41 | echo "DESTDIR = %{BUILDROOT}" >> %{DIR_APP}/config.mak | |
42 | echo "INSTALL = install -p" >> %{DIR_APP}/config.mak | |
43 | echo "GITWEB_PROJECTROOT = /var/lib/git" >> %{DIR_APP}/config.mak | |
44 | echo "htmldir = /usr/share/doc/%{thisapp}" >> %{DIR_APP}/config.mak | |
45 | echo "prefix = /usr" >> %{DIR_APP}/config.mak | |
46 | echo "gitwebdir = /var/www/git" >> %{DIR_APP}/config.mak | |
47 | echo "gitexecdir = lib/git-core" >> %{DIR_APP}/config.mak | |
48 | end | |
e2c1801f | 49 | |
802ea3af MT |
50 | build |
51 | make %{PARALLELISMFLAGS} | |
52 | end | |
e2c1801f | 53 | |
802ea3af MT |
54 | make_install_targets += INSTALLDIRS=vendor |
55 | end | |
e2c1801f | 56 | |
802ea3af MT |
57 | packages |
58 | package %{name} | |
59 | requires | |
60 | less | |
61 | openssh-clients | |
62 | rsync | |
63 | /usr/bin/vi | |
64 | end | |
65 | ||
66 | end | |
67 | end |