# HG changeset patch # User Aleksej Bobylev # Date 1521213441 -7200 # Node ID 41f7b84e8b0ce73187567de94c9f753b20a083a4 # Parent 8990149789e5761bc524bd2d94d689b7b93deb02 Up alsa-tools, git, gmerlin. diff -r 8990149789e5 -r 41f7b84e8b0c alsa-tools/receipt --- a/alsa-tools/receipt Fri Mar 16 13:43:56 2018 +0200 +++ b/alsa-tools/receipt Fri Mar 16 17:17:21 2018 +0200 @@ -28,15 +28,15 @@ fix ld for i in *; do case $i in + Makefile|gitcompile|qlo10k1) continue;; seq) cd $src/seq/sbiload;; *) cd $src/$i;; - Makefile|gitcompile|qlo10k1) continue;; esac ./configure $CONFIGURE_ARGS && make && make install - cp $stuff/*.desktop $install/usr/share/applications/ done + cp $stuff/*.desktop $install/usr/share/applications/ } genpkg_rules() { diff -r 8990149789e5 -r 41f7b84e8b0c git/receipt --- a/git/receipt Fri Mar 16 13:43:56 2018 +0200 +++ b/git/receipt Fri Mar 16 17:17:21 2018 +0200 @@ -1,52 +1,49 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="git" -VERSION="2.3.0" +VERSION="2.16.2" CATEGORY="development" SHORT_DESC="Fast version control system" MAINTAINER="b1+slitaz@nagel.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://git-scm.com/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://www.kernel.org/pub/software/scm/git/$TARBALL" # NO_NSEC=1 CROSS_BUGS="bug: can't run test and make package." -DEPENDS="zlib openssl curl expat" -BUILD_DEPENDS="wget zlib-dev openssl-dev curl-dev expat-dev perl python-dev \ +BUILD_DEPENDS="zlib-dev openssl-dev curl-dev expat-dev perl python-dev \ tar bzip2 gettext-tools" -# Rules to configure and make the package. -compile_rules() -{ - [ -L /bin/tar ] && tazpkg get-install tar --forced +compile_rules() { ./configure \ --prefix=/usr \ + --with-gitconfig=/etc/gitconfig \ --libexecdir=/usr/lib \ --without-tcltk \ $CONFIGURE_ARGS && make THREADED_DELTA_SEARCH=1 && - make THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR install + make THREADED_DELTA_SEARCH=1 DESTDIR=$DESTDIR install || return 1 + + install -Dm755 $stuff/git-daemon $install/etc/init.d/git-daemon } -# 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/ - strip -s $fs/usr/lib/git-core/* 2>/dev/null || true +genpkg_rules() { + copy @std + DEPENDS="zlib openssl curl expat" } # edit daemons.conf. -post_install() -{ +post_install() { if ! grep -q 'GIT_OPTIONS' "$1/etc/daemons.conf"; then mkdir -p "$1/var/www/git" - echo '# Git daemon options.' >> "$1/etc/daemons.conf" - echo 'GIT_REPO="/var/www/git/"' >> "$1/etc/daemons.conf" - echo 'GIT_OPTIONS="--detach --syslog --verbose --base-path=$GIT_REPO $GIT_REPO"' >> "$1/etc/daemons.conf" - echo '' >> "$1/etc/daemons.conf" + cat >> "$1/etc/daemons.conf" <