wok-next view git/receipt @ rev 21099

Update doxygen (1.8.15), git (2.20.1); add db5 (5.3.28)
TODO: switch to using /etc/daemons.conf.d/ in other packages too.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 01 22:49:19 2019 +0200 (2019-01-01)
parents d5aab818505e
children 06f83e7bab65
line source
1 # SliTaz package receipt v2.
3 PACKAGE="git"
4 VERSION="2.20.1"
5 CATEGORY="development"
6 SHORT_DESC="Fast 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_SHA1="58dca49db21f4bebf56f8861f15800f1c57c5ee3"
16 BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev tar \
17 bzip2 gettext"
18 DEPENDS="zlib openssl curl expat"
20 CONFIG_FILES="/etc/gitconfig /etc/daemons.conf.d/git-daemon.conf"
22 compile_rules() {
23 ./configure \
24 --prefix=/usr \
25 --with-gitconfig=/etc/gitconfig \
26 --without-tcltk \
27 $CONFIGURE_ARGS &&
28 make THREADED_DELTA_SEARCH=1 &&
29 make \
30 THREADED_DELTA_SEARCH=1 \
31 INSTALL_SYMLINKS=1 \
32 DESTDIR=$install install || return 1
34 install -Dm755 $stuff/git-daemon $install/etc/init.d/git-daemon
35 install -Dm644 $stuff/git-daemon.conf $install/etc/daemons.conf.d/git-daemon.conf
36 mkdir -p $install/var/www/git/
37 }