diff options
Diffstat (limited to 'acompiler/acerhk/Pkgfile')
-rw-r--r-- | acompiler/acerhk/Pkgfile | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/acompiler/acerhk/Pkgfile b/acompiler/acerhk/Pkgfile deleted file mode 100644 index 61e5133b8..000000000 --- a/acompiler/acerhk/Pkgfile +++ /dev/null @@ -1,47 +0,0 @@ -# Description: Pilote hotkey pour Acer -# URL: "http://www.cakey.de/acerhk/index.html" -# Maintainer: nutyx core team -# Packager: geantbrun -# Depends on: -name=acerhk -version=0.5.35 -release=1 -source=(http://www.cakey.de/acerhk/archives/$name-$version.tgz \ - http://nutyx.meticul.eu/files/patch/$name/1.0.4.3.arm \ - $name $name-$version-kernel-2.6.30.patch $name-$version-kernelversion-01.patch) - -_kernver=`uname -r` - -build() { - - # firmware - mkdir -p $PKG/lib/firmware - cp $SRC/1.0.4.3.arm $PKG/lib/firmware/ - ln -s 1.0.4.3.arm $PKG/lib/firmware/isl3890 - - # module kernel - cd $SRC/$name-$version - sed -i 's/CFLAGS/EXTRA_CFLAGS/' Makefile - patch -Np1 -i $SRC/acerhk-0.5.35-kernel-2.6.30.patch - patch -N -p1 < $SRC/acerhk-0.5.35-kernelversion-01.patch - - # Set KERNELSRC. The makefile tries to autodetect it with uname, - # but that is unreliable. - - make KERNELSRC="/lib/modules/${_kernver}/build" acerhk.ko - - install -Dm644 "$SRC/$name-$version/acerhk.ko" \ - $PKG/lib/modules/${_kernver}/kernel/drivers/block/acerhk.ko - - # Service - install -Dm755 $SRC/acerhk $PKG/etc/rc.d/init.d/acerhk - mkdir -p $PKG/etc/rc.d/rc{0,1,2,3,4,5,6}.d - for i in 2 3 4 5 - do - ln -s ../init.d/acerhk $PKG/etc/rc.d/rc$i.d/S25acerhk - done - for i in 0 1 6 - do - ln -s ../init.d/acerk $PKG/etc/rc.d/rc$i.d/K85acerhk - done -} |