wok-next view aufs/receipt @ rev 21640

updated fbgrab (1.2 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Jun 26 15:42:40 2020 +0100 (2020-06-26)
parents 1f4b1992db1f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="aufs"
4 VERSION="4.17-20180716"
5 COMMIT="076999e"
6 EXTRAVERSION="_$kvers"
7 CATEGORY="base-system"
8 SHORT_DESC="The Linux Kernel ${VERSION%-*} aufs module"
9 MAINTAINER="devel@slitaz.org"
10 LICENSE="GPL2"
11 WEB_SITE="http://aufs.sourceforge.net/"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/sfjro/aufs4-standalone/archive/$COMMIT.tar.gz"
16 BUILD_DEPENDS="linux-module-headers xz"
17 #SIBLINGS="linux64-aufs"
19 # How to update:
20 # 1. Go to https://github.com/sfjro/aufs4-standalone/
21 # 2. Select "aufs4.14" for the Linux Kernel-4.14.x in the "Branch:" dropdown
22 # 3. Copy 7 hex digits after the "Latest commit": it's $COMMIT
23 # 4. Copy AUFS_VERSION value from the updated file include/uapi/linux/aufs_type.h
25 COPY_std="@std @dev"
26 DEPENDS_std="linux"
27 PROVIDE_std="linux-aufs"
29 compile_rules()
30 {
31 sed -i.orig \
32 -e 's|CONFIG_AUFS_BRANCH_MAX_127 =.*|CONFIG_AUFS_BRANCH_MAX_127 =|' \
33 -e 's|#CONFIG_AUFS_BRANCH_MAX_32767 =.*|CONFIG_AUFS_BRANCH_MAX_32767 = y|' \
34 -e 's|CONFIG_AUFS_HNOTIFY =.*|CONFIG_AUFS_HNOTIFY = y|' \
35 -e 's|CONFIG_AUFS_HFSNOTIFY =.*|CONFIG_AUFS_HFSNOTIFY = y|' \
36 -e 's|CONFIG_AUFS_EXPORT =.*|CONFIG_AUFS_EXPORT = y|' \
37 -e 's|CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \
38 -e 's|CONFIG_AUFS_BDEV_LOOP =.*|CONFIG_AUFS_BDEV_LOOP = y|' \
39 -e 's|CONFIG_AUFS_BR_RAMFS =.*|CONFIG_AUFS_BR_RAMFS = y|' \
40 -e 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' config.mk
42 case $ARCH in
43 x86_64) inot64=" y";;
44 *) inot64="";;
45 esac
46 sed -i "s|CONFIG_AUFS_INO_T_64 =.*|CONFIG_AUFS_INO_T_64 =$inot64|" config.mk
48 # The sed fixes are from gentoo portage build.
49 sed -i.orig "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
50 sed -i.orig "s:__user::g" include/uapi/linux/aufs_type.h
52 make -j1 KDIR=/usr/src/linux || return 1
53 xz -f fs/aufs/aufs.ko
55 install -Dm0644 fs/aufs/aufs.ko.xz \
56 $install/lib/modules/$kvers-slitaz/kernel/fs/aufs/aufs.ko.xz
57 install -Dm0644 include/uapi/linux/aufs_type.h \
58 $install/usr/include/uapi/linux/aufs_type.h
59 }