wok annotate ndiswrapper-driver/receipt @ rev 19563

linld: fix previous commit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 17 19:13:29 2016 +0100 (2016-12-17)
parents db5b03f42dd9
children 8a51ff352615
rev   line source
erjo@1851 1 # SliTaz package receipt.
erjo@1851 2
erjo@1851 3 PACKAGE="ndiswrapper-driver"
pascal@15586 4 VERSION="1.59"
erjo@1851 5 CATEGORY="system-tools"
erjo@1851 6 SHORT_DESC="Add Windows network drivers support to Linux kernel."
erjo@1851 7 MAINTAINER="erjo@slitaz.org"
pascal@15584 8 LICENSE="GPL"
erjo@1851 9 SOURCE="ndiswrapper"
erjo@1851 10 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@1851 11 WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
pascal@15586 12 WGET_URL="$SF_MIRROR/$SOURCE/stable/$TARBALL"
jozee@4969 13 TAGS="windows wireless network"
erjo@1851 14
pascal@15584 15 DEPENDS="linux"
pascal@15584 16 BUILD_DEPENDS="linux-module-headers xz"
pascal@15584 17
erjo@1851 18 # Rules to configure and make the package.
erjo@1851 19 compile_rules()
erjo@1851 20 {
pankso@15855 21 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz
pascal@15586 22 xz driver/ndiswrapper.ko
erjo@1851 23 }
erjo@1851 24
erjo@1851 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1851 26 genpkg_rules()
erjo@1851 27 {
pankso@15855 28 EXTRAVERSION=_${kvers}
pankso@15855 29 mkdir -p $fs/usr/sbin $fs/sbin $fs/lib/modules/${kvers}-slitaz/kernel/misc
al@18741 30
al@18741 31 # Install utilities
pankso@15855 32 install -o root -m 0755 $src/utils/loadndisdriver $fs/sbin/
pankso@15855 33 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \
pankso@15855 34 $fs/lib/modules/${kvers}-slitaz/kernel/misc/ndiswrapper.ko.xz
erjo@1851 35 }