wok-next view git/receipt @ rev 21166

Update git
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 25 11:19:27 2019 +0200 (2019-03-25)
parents 20af6f0f7070
children 5f402c5b01bd
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 aBUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev tar \
17 bzip2 gettext"
18 BUILD_DEPENDS="openssl-dev zlib-dev pcre2-dev curl-dev expat-dev gettext perl \
19 asciidoctor xmlto"
22 compile_rules() {
23 cat >> config.mak <<-EOF
24 NO_GETTEXT=YesPlease
25 NO_SVN_TESTS=YesPlease
26 NO_REGEX=YesPlease
27 USE_ASCIIDOCTOR=1
28 USE_LIBPCRE2=YesPlease
29 NO_NSEC=YesPlease
30 NO_SYS_POLL_H=1
31 CFLAGS=$CFLAGS
32 EOF
34 make prefix=/usr DESTDIR=$install || return 1
36 make \
37 -j1 \
38 prefix=/usr \
39 DESTDIR=$install \
40 INSTALLDIRS=vendor \
41 install || return 1
43 mkdir -p $install/var/git
44 # install -Dm755 $stuff/git-daemon.initd $install/etc/init.d/git-daemon
45 # install -Dm644 $stuff/git-daemon.confd $install/etc/conf.d/git-daemon
47 make \
48 prefix=/usr \
49 DESTDIR=$install \
50 install-man || return 1
51 find $install -name perllocal.pod -delete
53 # SliTaz stuff:
54 install -Dm755 $stuff/git-daemon $install/etc/init.d/git-daemon
55 install -Dm644 $stuff/git-daemon.conf $install/etc/daemons.conf.d/git-daemon.conf
56 }
58 SPLIT="$PACKAGE-email $PACKAGE-fast-import $PACKAGE-cvs $PACKAGE-svn \
59 $PACKAGE-p4 $PACKAGE-daemon $PACKAGE-gitweb $PACKAGE-gui $PACKAGE-perl $PACKAGE"
61 COPY_email="git-imap-send git-send-email"
62 DEPENDS_email="libcurl libpcre2-8 openssl zlib perl perl-authen-sasl perl-net-smtp-ssl"
63 CAT_email="development|sending email"
65 COPY_fast_import="git-fast-import"
66 DEPENDS_fast_import="libpcre2-8 zlib $PACKAGE"
67 CAT_fast_import="development|backend for fast Git data importers"
69 COPY_cvs="git-cvsserver git-cvsexportcommit git-cvsimport"
70 DEPENDS_cvs="cvs perl perl-dbd-sqlite"
71 CAT="development|importing CVS repositories"
73 COPY_svn="git-svn git-remote-testsvn"
74 DEPENDS_svn="libpcre2-8 zlib perl $PACKAGE"
75 CAT_svn="development|operations between Subversion and Git"
77 COPY_p4="git-p4 p4merge"
78 DEPENDS_p4="python $PACKAGE $PACKAGE-fast-import"
79 CAT_p4="development|working with Perforce depots"
81 COPY_daemon="git-daemon git-http-backend git-shell git-daemon.conf"
82 DEPENDS_daemon="libpcre2-8 zlib $PACKAGE"
83 CAT_daemon="development|git protocol daemon"
84 CONFIG_FILES_std="/etc/daemons.conf.d/git-daemon.conf"
86 COPY_gitweb="gitweb/ git-instaweb"
87 DEPENDS_gitweb="$PACKAGE perl"
88 CAT_gitweb="development|simple web interface to git repositories"
90 COPY_gui="git-gui git-gui--askpass git-gui/ gitk gitk/ git-citool"
91 DEPENDS_gui="$PACKAGE tcl tk"
92 CAT_gui="development|GUI"
94 COPY_perl="perl5/ git-add--interactive git-archimport"
95 DEPENDS_perl="$PACKAGE perl"
96 CAT_perl="development|Perl tools"
98 DEPENDS_std="expat libcurl libpcre2-8 zlib"
99 CONFIG_FILES_std="/etc/gitconfig"