wok-6.x diff linux-libre/receipt @ rev 25517
updated gvim 8.2 -> 9.0.0133
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 23 10:53:50 2023 +0100 (21 months ago) |
parents | bd7510903310 |
children |
line diff
1.1 --- a/linux-libre/receipt Sun May 01 08:42:44 2022 +0000 1.2 +++ b/linux-libre/receipt Thu Feb 23 10:53:50 2023 +0100 1.3 @@ -7,13 +7,14 @@ 1.4 MAINTAINER="gokhlayeh@slitaz.org" 1.5 LICENSE="GPL2" 1.6 PROVIDE="linux" 1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.8 +TARBALL="$PACKAGE-$VERSION.vcdiff" 1.9 WEB_SITE="http://www.fsfla.org/ikiwiki/selibre/linux-libre/" 1.10 -WGET_URL="http://www.fsfla.org/svnwiki/selibre/linux-libre/download/releases/old/gen6/$VERSION/$TARBALL" 1.11 +WGET_URL="http://linux-libre.fsfla.org/pub/linux-libre/releases/old/gen6/$VERSION/$TARBALL" 1.12 +EXTRA_SOURCE_FILES="https://mirrors.edge.kernel.org/pub/linux/kernel/v${VERSION%%.*}.x/linux-${VERSION%-gnu}.tar.xz" 1.13 1.14 DEPENDS="kmod" 1.15 BUILD_DEPENDS="slitaz-toolchain perl git xz lzma patch kmod bc \ 1.16 -sysfsutils-dev libtool glib-dev libwrap libwrap-dev udev-dev" 1.17 +sysfsutils-dev libtool glib-dev libwrap libwrap-dev udev-dev xdelta" 1.18 1.19 # What is the latest version available today? 1.20 current_version() 1.21 @@ -25,6 +26,13 @@ 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 + [ -s "$SOURCES_REPOSITORY/$(basename $EXTRA_SOURCE_FILES)" ] || 1.26 + busybox wget -P "$SOURCES_REPOSITORY/" "$EXTRA_SOURCE_FILES" 1.27 + xzcat < $SOURCES_REPOSITORY//$(basename $EXTRA_SOURCE_FILES) > $(basename $EXTRA_SOURCE_FILES .xz) 1.28 + xdelta3 -d $TARBALL 1.29 + tar xf ${TARBALL/vcdiff/tar} 1.30 + mv linux-*/* . 1.31 + 1.32 # SliTaz db 1.33 rm -rf $WOK/$PACKAGE/slitaz && mkdir $WOK/$PACKAGE/slitaz 1.34 echo "$WGET_URL" > $WOK/$PACKAGE/slitaz/url