wok diff kmod/receipt @ rev 19603

Up kmod (23)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 03 14:47:54 2017 +0100 (2017-01-03)
parents 36278632a653
children 74e489814f4e
line diff
     1.1 --- a/kmod/receipt	Fri Apr 10 16:29:03 2015 +0200
     1.2 +++ b/kmod/receipt	Tue Jan 03 14:47:54 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="kmod"
     1.7 -VERSION="16"
     1.8 +VERSION="23"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Linux kernel modules tools."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -23,6 +23,11 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 +	# Add lzma support
    1.17 +	sed -i -e 's/stream_decoder/auto_decoder/' \
    1.18 +	 -e 's/.*c_xz\[.*/&\nstatic const char magic_lz[] = {0x5d, 0};/' \
    1.19 +	 -e 's/.*c_xz,.*/&\n\t{sizeof(magic_lz), magic_lz, {load_xz, unload_xz}},/' \
    1.20 +			libkmod/libkmod-file.c
    1.21  	./configure \
    1.22  		--bindir=/sbin \
    1.23  		--with-rootlibdir=/lib \