wok-next diff linux64-aufs/receipt @ rev 19714

Up cookutils (901)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 12 16:19:41 2017 +0300 (2017-05-12)
parents 6fab3264ba87
children
line diff
     1.1 --- a/linux64-aufs/receipt	Fri Dec 25 15:23:46 2015 +0200
     1.2 +++ b/linux64-aufs/receipt	Fri May 12 16:19:41 2017 +0300
     1.3 @@ -1,26 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux64-aufs"
     1.7 -SOURCE="aufs"
     1.8 -VERSION="20130311"
     1.9 +VERSION="0d8e71c"
    1.10  CATEGORY="base-system"
    1.11 -SHORT_DESC="aufs3 kernel module"
    1.12 +SHORT_DESC="The Linux Kernel 4.9 aufs module"
    1.13  MAINTAINER="godane@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -WEB_SITE="http://aufs.sf.net/"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.17 -WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git"
    1.18 -BRANCH="origin/${PACKAGE}3.2"
    1.19 +WEB_SITE="http://aufs.sourceforge.net/"
    1.20  PROVIDE="aufs:linux64"
    1.21  
    1.22 +TARBALL="aufs-$VERSION.tar.gz"
    1.23 +WGET_URL="https://github.com/sfjro/aufs4-standalone/archive/$VERSION.tar.gz"
    1.24 +
    1.25  DEPENDS="linux64"
    1.26 -BUILD_DEPENDS="linux64-module-headers git xz uclibc-cross-compiler-x86_64"
    1.27 +BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64"
    1.28 +SIBLINGS="aufs"
    1.29  
    1.30  AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 +	cp config.mk config.mk.orig
    1.36  	sed -i \
    1.37  		-e 's|CONFIG_AUFS_BRANCH_MAX_127 =.*|CONFIG_AUFS_BRANCH_MAX_127 =|' \
    1.38  		-e 's|#CONFIG_AUFS_BRANCH_MAX_32767 =.*|CONFIG_AUFS_BRANCH_MAX_32767 = y|' \
    1.39 @@ -35,11 +36,7 @@
    1.40  
    1.41  	# The sed fixes are from gentoo portage build.
    1.42  	sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
    1.43 -	sed -i "s:__user::g" include/linux/aufs_type.h
    1.44 -
    1.45 -	# Linux 3.2.71 support
    1.46 -	sed -i 's/d_u.d_child/d_child/' fs/aufs/dcsub.c fs/aufs/hnotify.c
    1.47 -	sed -i 's/ d_alias/ d_u.d_alias/' fs/aufs/hnotify.c fs/aufs/export.c
    1.48 +	sed -i "s:__user::g" include/uapi/linux/aufs_type.h
    1.49  
    1.50  	make -j 1 KDIR=/usr/src/linux
    1.51  	xz -f fs/aufs/aufs.ko
    1.52 @@ -55,14 +52,3 @@
    1.53  	install -D -o root -m 0644 $src/include/linux/aufs_type.h \
    1.54  		$fs/usr/include/linux/aufs_type.h
    1.55  }
    1.56 -
    1.57 -# Post install/remove commands for Tazpkg.
    1.58 -post_install()
    1.59 -{
    1.60 -	chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz64
    1.61 -}
    1.62 -
    1.63 -post_remove()
    1.64 -{
    1.65 -	chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz64
    1.66 -}