From 49e2d84c53fff40e499b50bb19d62145c9e036bc Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Tue, 8 Mar 2005 13:44:45 +0000 Subject: [PATCH] Stefan Fiedler: gatos-ati-remote: build only with linux24, as this kernel module is part of linux26 Index: package/stf/gatos-ati-remote/gatos-ati-remote.conf =================================================================== [2005030419515421413] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5679 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/stf/gatos-ati-remote/config.in | 5 +++++ package/stf/gatos-ati-remote/gatos-ati-remote.conf | 7 +++++++ package/stf/gatos-ati-remote/gatos-ati-remote.desc | 5 ++++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 package/stf/gatos-ati-remote/config.in create mode 100644 package/stf/gatos-ati-remote/gatos-ati-remote.conf diff --git a/package/stf/gatos-ati-remote/config.in b/package/stf/gatos-ati-remote/config.in new file mode 100644 index 000000000..ea1fcd0eb --- /dev/null +++ b/package/stf/gatos-ati-remote/config.in @@ -0,0 +1,5 @@ +if pkgcheck gatos-ati-remote X; then + if [ $ROCKCFG_PKG_LINUX_IMG24 == 0 ]; then + pkgdisable gatos-ati-remote + fi +fi diff --git a/package/stf/gatos-ati-remote/gatos-ati-remote.conf b/package/stf/gatos-ati-remote/gatos-ati-remote.conf new file mode 100644 index 000000000..fbcffc6ae --- /dev/null +++ b/package/stf/gatos-ati-remote/gatos-ati-remote.conf @@ -0,0 +1,7 @@ + +linux24_ver=`grep "\[V\] *2.4" $base/package/base/linux/linux.desc | cut -f2 -d" "` +MAKE="$MAKE KDIR=/usr/src/linux-$linux24_ver-rock" + +hook_add postmake 5 "mkdir -p /lib/modules/$linux24_ver/gatos; \ + cp -a ati_remote.o /lib/modules/$linux24_ver/gatos; \ + cp -a lircd.conf /etc/lircd.conf.gatos-example" \ No newline at end of file diff --git a/package/stf/gatos-ati-remote/gatos-ati-remote.desc b/package/stf/gatos-ati-remote/gatos-ati-remote.desc index c4ad80bf0..d12128bc2 100644 --- a/package/stf/gatos-ati-remote/gatos-ati-remote.desc +++ b/package/stf/gatos-ati-remote/gatos-ati-remote.desc @@ -24,7 +24,10 @@ [I] Linux kernel module that interfaces ATI RF remote as a regular input device [T] GATOS project provides enhanced drivers for many videocards made by ATI (in -[T] particular All-in-Wonder series) and a TV player/recorder application AVview. +[T] particular All-in-Wonder series) and a TV player/recorder application AVview. +[T] +[T] The driver in this package is included in Linux 2.6.5 and later kernels; +[T] therefore this package can only be built with Linux 2.4 kernels. [U] http://gatos.sourceforge.net