
Receipt for package "git"
# SliTaz package receipt. PACKAGE="git" VERSION="2.39.4" CATEGORY="development" SHORT_DESC="Fast version control system." MAINTAINER="b1+slitaz@nagel.org" LICENSE="GPL2" WEB_SITE="https://git-scm.com/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://www.kernel.org/pub/software/scm/git/$TARBALL" SUGGESTED="git-lang" DEPENDS="cacerts curl expat openssl zlib libffi" BUILD_DEPENDS="curl-dev expat-dev openssl-dev perl python-dev zlib-dev" # NO_NSEC=1 CROSS_BUGS="bug: can't run test and make package." #HOST_ARCH="i486 arm" HOST_ARCH="i486 x86_64" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --libexecdir=/usr/lib \ --without-tcltk \ $CONFIGURE_ARGS && make THREADED_DELTA_SEARCH=1 && make install THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc/init.d cp -a $stuff/git-daemon $fs/etc/init.d cp -a $install/usr $fs # moved to package git-lang rm -rf $fs/usr/share/locale strip -s $fs/usr/lib/git-core/* 2>/dev/null || true } # edit daemons.conf. post_install() { if ! grep -q 'GIT_OPTIONS' "$1/etc/daemons.conf" then mkdir -p "$1/var/www/git" echo '# Git daemon options. GIT_REPO="/var/www/git/" GIT_OPTIONS="--detach --syslog --verbose --base-path=$GIT_REPO $GIT_REPO" ' >> "$1/etc/daemons.conf" fi }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)