wok-current 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 44c7f1417384
children 74e489814f4e
files kmod-dev/receipt kmod/receipt
line diff
     1.1 --- a/kmod-dev/receipt	Mon Jan 02 18:35:23 2017 +0000
     1.2 +++ b/kmod-dev/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-dev"
     1.7 -VERSION="16"
     1.8 +VERSION="23"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Kmod devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/kmod/receipt	Mon Jan 02 18:35:23 2017 +0000
     2.2 +++ b/kmod/receipt	Tue Jan 03 14:47:54 2017 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="kmod"
     2.7 -VERSION="16"
     2.8 +VERSION="23"
     2.9  CATEGORY="base-system"
    2.10  SHORT_DESC="Linux kernel modules tools."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -23,6 +23,11 @@
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16 +	# Add lzma support
    2.17 +	sed -i -e 's/stream_decoder/auto_decoder/' \
    2.18 +	 -e 's/.*c_xz\[.*/&\nstatic const char magic_lz[] = {0x5d, 0};/' \
    2.19 +	 -e 's/.*c_xz,.*/&\n\t{sizeof(magic_lz), magic_lz, {load_xz, unload_xz}},/' \
    2.20 +			libkmod/libkmod-file.c
    2.21  	./configure \
    2.22  		--bindir=/sbin \
    2.23  		--with-rootlibdir=/lib \