]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - git/git.nm
Merge remote-tracking branch 'maniacikarus/ids'
[people/ms/ipfire-3.x.git] / git / git.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = git
7 version = 1.7.3.2
8 release = 1
9
10 groups = Development/Tools
11 url = http://git-scm.com/
12 license = GPLv2
13 summary = Fast Version Control System.
14
15 description
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.
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-ExtUtils-MakeMaker
31 perl-devel
32 zlib-devel
33 end
34
35 prepare_cmds
36 echo "CFLAGS = %{CFLAGS}" > %{DIR_APP}/config.mak
37 echo "BLK_SHA1 = 1" >> %{DIR_APP}/config.mak
38 echo "NEEDS_CRYPTO_WITH_SSL = 1" >> %{DIR_APP}/config.mak
39 echo "NO_PYTHON = 1" >> %{DIR_APP}/config.mak
40 echo "NO_TCLTK = 1" >> %{DIR_APP}/config.mak
41 echo "ETC_GITCONFIG = /etc/gitconfig" >> %{DIR_APP}/config.mak
42 echo "DESTDIR = %{BUILDROOT}" >> %{DIR_APP}/config.mak
43 echo "INSTALL = install -p" >> %{DIR_APP}/config.mak
44 echo "GITWEB_PROJECTROOT = /var/lib/git" >> %{DIR_APP}/config.mak
45 echo "htmldir = /usr/share/doc/%{thisapp}" >> %{DIR_APP}/config.mak
46 echo "prefix = /usr" >> %{DIR_APP}/config.mak
47 echo "gitwebdir = /var/www/git" >> %{DIR_APP}/config.mak
48 echo "gitexecdir = lib/git-core" >> %{DIR_APP}/config.mak
49 end
50
51 build
52 make %{PARALLELISMFLAGS}
53 end
54
55 make_install_targets += INSTALLDIRS=vendor
56 end
57
58 packages
59 package %{name}
60 requires
61 less
62 openssh-clients
63 rsync
64 /usr/bin/vi
65 end
66
67 end
68
69 package %{name}-debuginfo
70 template DEBUGINFO
71 end
72 end