wok-next view git/receipt @ rev 21184
aufs-utils: inserted make headers_install
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 22 17:16:53 2019 +0100 (2019-09-22) |
parents | 06f83e7bab65 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="git"
4 VERSION="2.21.0"
5 CATEGORY="development"
6 SHORT_DESC="A distributed version control system"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://git-scm.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/git.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.kernel.org/pub/software/scm/git/$TARBALL"
14 TARBALL_SHA512="83f57c3950a07f6773a3aea66611d22daba0e5599e5d8f0751a16f6fdbeab0f3844d942a39a5642051212df99d1d4513253c36829b1454b4f0977cc6026fd973"
16 BUILD_DEPENDS="openssl-dev zlib-dev pcre2-dev curl-dev expat-dev gettext perl \
17 asciidoctor xmlto"
19 compile_rules() {
20 cat >> config.mak <<-EOF
21 NO_GETTEXT=YesPlease
22 NO_SVN_TESTS=YesPlease
23 NO_REGEX=YesPlease
24 USE_ASCIIDOCTOR=1
25 USE_LIBPCRE2=YesPlease
26 NO_NSEC=YesPlease
27 NO_SYS_POLL_H=1
28 CFLAGS=$CFLAGS
29 EOF
31 make prefix=/usr DESTDIR=$install || return 1
33 make \
34 -j1 \
35 prefix=/usr \
36 DESTDIR=$install \
37 INSTALLDIRS=vendor \
38 install || return 1
40 mkdir -p $install/var/git
41 # install -Dm755 $stuff/git-daemon.initd $install/etc/init.d/git-daemon
42 # install -Dm644 $stuff/git-daemon.confd $install/etc/conf.d/git-daemon
44 make \
45 prefix=/usr \
46 DESTDIR=$install \
47 install-man || return 1
48 find $install -name perllocal.pod -delete
50 # SliTaz stuff:
51 install -Dm755 $stuff/git-daemon $install/etc/init.d/git-daemon
52 install -Dm644 $stuff/git-daemon.conf $install/etc/daemons.conf.d/git-daemon.conf
53 }
55 SPLIT="$PACKAGE-email $PACKAGE-fast-import $PACKAGE-cvs $PACKAGE-svn \
56 $PACKAGE-p4 $PACKAGE-daemon $PACKAGE-gitweb $PACKAGE-gui $PACKAGE-perl $PACKAGE"
58 COPY_email="git-imap-send git-send-email"
59 DEPENDS_email="libcurl libpcre2-8 openssl zlib perl perl-authen-sasl perl-net-smtp-ssl"
60 CAT_email="development|sending email"
62 COPY_fast_import="git-fast-import"
63 DEPENDS_fast_import="libpcre2-8 zlib $PACKAGE"
64 CAT_fast_import="development|backend for fast Git data importers"
66 COPY_cvs="git-cvsserver git-cvsexportcommit git-cvsimport"
67 DEPENDS_cvs="cvs perl perl-dbd-sqlite"
68 CAT_cvs="development|importing CVS repositories"
70 COPY_svn="git-svn git-remote-testsvn"
71 DEPENDS_svn="libpcre2-8 zlib perl $PACKAGE"
72 CAT_svn="development|operations between Subversion and Git"
74 COPY_p4="git-p4 p4merge"
75 DEPENDS_p4="python $PACKAGE $PACKAGE-fast-import"
76 CAT_p4="development|working with Perforce depots"
78 COPY_daemon="git-daemon git-http-backend git-shell git-daemon.conf"
79 DEPENDS_daemon="libpcre2-8 zlib $PACKAGE"
80 CAT_daemon="development|git protocol daemon"
81 CONFIG_FILES_daemon="/etc/daemons.conf.d/git-daemon.conf"
83 COPY_gitweb="gitweb/ git-instaweb"
84 DEPENDS_gitweb="$PACKAGE perl"
85 CAT_gitweb="development|simple web interface to git repositories"
87 COPY_gui="git-gui git-gui--askpass git-gui/ gitk gitk/ git-citool"
88 DEPENDS_gui="$PACKAGE tcl tk"
89 CAT_gui="development|GUI"
91 COPY_perl="perl5/ git-add--interactive git-archimport"
92 DEPENDS_perl="$PACKAGE perl"
93 CAT_perl="development|Perl tools"
95 DEPENDS_std="expat libcurl libpcre2-8 zlib"
96 CONFIG_FILES_std="/etc/gitconfig"