wok annotate ndiswrapper-driver64/receipt @ rev 20394

Add ndiswrapper-driver64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 25 13:19:27 2018 +0200 (2018-06-25)
parents
children bb88d5d1c8fb
rev   line source
pascal@20394 1 # SliTaz package receipt.
pascal@20394 2
pascal@20394 3 PACKAGE="ndiswrapper-driver64"
pascal@20394 4 VERSION="1.61"
pascal@20394 5 CATEGORY="system-tools"
pascal@20394 6 SHORT_DESC="Add Windows network drivers support to Linux kernel."
pascal@20394 7 MAINTAINER="erjo@slitaz.org"
pascal@20394 8 LICENSE="GPL"
pascal@20394 9 SOURCE="ndiswrapper"
pascal@20394 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20394 11 WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
pascal@20394 12 WGET_URL="$SF_MIRROR/$SOURCE/stable/$TARBALL"
pascal@20394 13 TAGS="windows wireless network"
pascal@20394 14
pascal@20394 15 DEPENDS="linux"
pascal@20394 16 BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64"
pascal@20394 17
pascal@20394 18 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
pascal@20394 19
pascal@20394 20 # Rules to configure and make the package.
pascal@20394 21 compile_rules()
pascal@20394 22 {
pascal@20394 23 sed -i 's|error Multiple|echo Multiple|' driver/Makefile
pascal@20394 24 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz64
pascal@20394 25 xz driver/ndiswrapper.ko
pascal@20394 26 }
pascal@20394 27
pascal@20394 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20394 29 genpkg_rules()
pascal@20394 30 {
pascal@20394 31 EXTRAVERSION=_${kvers}
pascal@20394 32 mkdir -p $fs/usr/sbin $fs/sbin $fs/lib/modules/${kvers}-slitaz64/kernel/misc
pascal@20394 33
pascal@20394 34 # Install utilities
pascal@20394 35 install -o root -m 0755 $src/utils/loadndisdriver $fs/sbin/
pascal@20394 36 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \
pascal@20394 37 $fs/lib/modules/${kvers}-slitaz64/kernel/misc/ndiswrapper.ko.xz
pascal@20394 38 }