wok-next annotate git/receipt @ rev 21727

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