wok-next annotate ndiswrapper-driver/receipt @ rev 21721
created recipes for efivar and efibootmgr
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 01 10:09:15 2020 +0100 (2020-09-01) |
parents | 89617d35ca0c |
children |
rev | line source |
---|---|
pascal@20305 | 1 # SliTaz package receipt v2. |
erjo@1851 | 2 |
erjo@1851 | 3 PACKAGE="ndiswrapper-driver" |
Hans-G?nter@21384 | 4 VERSION="1.62" |
al@20251 | 5 EXTRAVERSION="_$kvers" |
erjo@1851 | 6 CATEGORY="system-tools" |
al@21020 | 7 SHORT_DESC="Add Windows network drivers support to Linux kernel" |
Hans-G?nter@21384 | 8 MAINTAINER="maintainer@slitaz.org" |
pascal@15584 | 9 LICENSE="GPL" |
pascal@21145 | 10 WEB_SITE="http://ndiswrapper.sourceforge.net/" |
al@20884 | 11 REPOLOGY="ndiswrapper" |
al@20513 | 12 |
al@20513 | 13 TARBALL="ndiswrapper-$VERSION.tar.gz" |
al@20513 | 14 WGET_URL="$SF_MIRROR/ndiswrapper/$TARBALL" |
erjo@1851 | 15 |
pascal@15584 | 16 BUILD_DEPENDS="linux-module-headers xz" |
al@21020 | 17 SPLIT="ndiswrapper-utils ndiswrapper" |
pascal@15584 | 18 |
Hans-G?nter@21384 | 19 compile_rules() |
Hans-G?nter@21384 | 20 { |
al@21020 | 21 make KBUILD=/usr/src/linux KVER=linux-$kvers-slitaz |
pascal@15586 | 22 xz driver/ndiswrapper.ko |
al@20513 | 23 |
al@20513 | 24 mkdir -p \ |
al@20513 | 25 $install/usr/sbin \ |
al@20513 | 26 $install/sbin \ |
al@21020 | 27 $install/lib/modules/$kvers-slitaz/kernel/misc |
al@20513 | 28 |
al@20513 | 29 # Install utilities |
al@20513 | 30 install -o root -m755 $src/utils/loadndisdriver $install/sbin/ |
al@20513 | 31 install -o root -m755 $src/utils/ndiswrapper $install/usr/sbin/ |
al@20513 | 32 install -o root -m755 $src/utils/ndiswrapper-buginfo $install/usr/sbin/ |
al@20513 | 33 install -o root -m644 $src/driver/ndiswrapper.ko.xz \ |
al@21020 | 34 $install/lib/modules/$kvers-slitaz/kernel/misc/ndiswrapper.ko.xz |
erjo@1851 | 35 } |
erjo@1851 | 36 |
Hans-G?nter@21384 | 37 genpkg_rules() |
Hans-G?nter@21384 | 38 { |
pascal@20305 | 39 case $PACKAGE in |
al@20513 | 40 ndiswrapper-driver) |
al@20513 | 41 copy loadndisdriver ndiswrapper.ko.xz |
al@20513 | 42 DEPENDS="linux" |
al@20513 | 43 ;; |
al@20513 | 44 ndiswrapper-utils) |
al@20513 | 45 copy ndiswrapper ndiswrapper-buginfo |
al@20513 | 46 CAT="system-tools|utilities" |
al@20513 | 47 DEPENDS="ndiswrapper-driver perl" |
al@20513 | 48 ;; |
al@20513 | 49 ndiswrapper) |
al@20513 | 50 CATEGORY="meta" |
al@20513 | 51 DEPENDS="ndiswrapper-driver ndiswrapper-utils wireless_tools" |
al@20513 | 52 ;; |
pascal@20305 | 53 esac |
al@20513 | 54 TAGS="windows wireless network" |
erjo@1851 | 55 } |