wok-current diff linux-cloop/receipt @ rev 23761
Up linux-cloop (4.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 04 09:05:12 2020 +0000 (2020-05-04) |
parents | c4e857aec2bd |
children | 97e141edc8c2 |
line diff
1.1 --- a/linux-cloop/receipt Thu Mar 15 17:57:37 2018 +0100 1.2 +++ b/linux-cloop/receipt Mon May 04 09:05:12 2020 +0000 1.3 @@ -2,13 +2,15 @@ 1.4 1.5 PACKAGE="linux-cloop" 1.6 SOURCE="cloop" 1.7 -VERSION="2.639-2" 1.8 +_VERSION="2.639-2" 1.9 +#VERSION="$(sed '/+#define CLOOP_VERSION/!d;s|.* "\(.*\)"|\1|' stuff/cloop.u)" 1.10 +VERSION="4.12" 1.11 CATEGORY="base-system" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 SHORT_DESC="The read-only compressed loop device kernel module." 1.15 WEB_SITE="http://knoppix.net/wiki/Cloop" 1.16 -TARBALL="${SOURCE}_${VERSION}.tar.gz" 1.17 +TARBALL="${SOURCE}_${_VERSION}.tar.gz" 1.18 WGET_URL="http://debian-knoppix.alioth.debian.org/packages/$SOURCE/$TARBALL" 1.19 1.20 DEPENDS="linux" 1.21 @@ -19,9 +21,7 @@ 1.22 1.23 compile_rules() 1.24 { 1.25 - patch -p0 < $stuff/cloop.u # 3.2.98 1.26 - sed -i -e 's|file->f_path.mnt, file->f_path.dentry|\&file->f_path|' \ 1.27 - -e 's|bvec->|bvec.|g;s|*bvec|bvec|' cloop.c 1.28 + patch -p0 < $stuff/cloop.u 1.29 make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 1.30 } 1.31