wok-current annotate ndiswrapper-driver64/receipt @ rev 20911
updated fasm (1.73.04 -> 1.73.09)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 28 14:37:48 2019 +0100 (2019-02-28) |
parents | 45359819b214 |
children | 4e6b812a279f |
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@20682 | 11 WEB_SITE="http://ndiswrapper.sourceforge.net/" |
pascal@20394 | 12 WGET_URL="$SF_MIRROR/$SOURCE/stable/$TARBALL" |
pascal@20394 | 13 TAGS="windows wireless network" |
pascal@20395 | 14 PROVIDE="ndiswrapper-driver:linux64" |
pascal@20394 | 15 |
pascal@20395 | 16 DEPENDS="linux64" |
pascal@20394 | 17 BUILD_DEPENDS="linux64-module-headers xz uclibc-cross-compiler-x86_64" |
pascal@20394 | 18 |
pascal@20394 | 19 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" |
pascal@20394 | 20 |
pascal@20394 | 21 # Rules to configure and make the package. |
pascal@20394 | 22 compile_rules() |
pascal@20394 | 23 { |
pascal@20394 | 24 sed -i 's|error Multiple|echo Multiple|' driver/Makefile |
pascal@20394 | 25 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz64 |
pascal@20394 | 26 xz driver/ndiswrapper.ko |
pascal@20394 | 27 } |
pascal@20394 | 28 |
pascal@20394 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20394 | 30 genpkg_rules() |
pascal@20394 | 31 { |
pascal@20394 | 32 EXTRAVERSION=_${kvers} |
pascal@20394 | 33 mkdir -p $fs/usr/sbin $fs/sbin $fs/lib/modules/${kvers}-slitaz64/kernel/misc |
pascal@20394 | 34 |
pascal@20394 | 35 # Install utilities |
pascal@20394 | 36 install -o root -m 0755 $src/utils/loadndisdriver $fs/sbin/ |
pascal@20394 | 37 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \ |
pascal@20394 | 38 $fs/lib/modules/${kvers}-slitaz64/kernel/misc/ndiswrapper.ko.xz |
pascal@20394 | 39 } |
pascal@20396 | 40 |
pascal@20396 | 41 # Post install/remove commands for Tazpkg. |
pascal@20396 | 42 post_install() |
pascal@20396 | 43 { |
pascal@20396 | 44 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64 |
pascal@20396 | 45 } |
pascal@20396 | 46 |
pascal@20396 | 47 post_remove() |
pascal@20396 | 48 { |
pascal@20396 | 49 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64 |
pascal@20396 | 50 } |