wok-current annotate ndiswrapper-driver/receipt @ rev 21210

updated scim again (1.4.9 -> 1.4.18)
author Hans-G?nter Theisgen
date Tue Apr 09 16:34:08 2019 +0100 (2019-04-09)
parents 45359819b214
children 4e6b812a279f
rev   line source
erjo@1851 1 # SliTaz package receipt.
erjo@1851 2
erjo@1851 3 PACKAGE="ndiswrapper-driver"
pascal@20267 4 VERSION="1.61"
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"
pascal@20682 11 WEB_SITE="http://ndiswrapper.sourceforge.net/"
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 {
pascal@20267 21 sed -i 's|error Multiple|echo Multiple|' driver/Makefile
pankso@15855 22 make KBUILD=/usr/src/linux KVER=linux-${kvers}-slitaz
pascal@15586 23 xz driver/ndiswrapper.ko
erjo@1851 24 }
erjo@1851 25
erjo@1851 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1851 27 genpkg_rules()
erjo@1851 28 {
pankso@15855 29 EXTRAVERSION=_${kvers}
pankso@15855 30 mkdir -p $fs/usr/sbin $fs/sbin $fs/lib/modules/${kvers}-slitaz/kernel/misc
al@18741 31
al@18741 32 # Install utilities
pankso@15855 33 install -o root -m 0755 $src/utils/loadndisdriver $fs/sbin/
pankso@15855 34 install -o root -m 0644 $src/driver/ndiswrapper.ko.xz \
pankso@15855 35 $fs/lib/modules/${kvers}-slitaz/kernel/misc/ndiswrapper.ko.xz
erjo@1851 36 }
pascal@20396 37
pascal@20396 38 # Post install/remove commands for Tazpkg.
pascal@20396 39 post_install()
pascal@20396 40 {
pascal@20396 41 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
pascal@20396 42 }
pascal@20396 43
pascal@20396 44 post_remove()
pascal@20396 45 {
pascal@20396 46 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
pascal@20396 47 }