wok annotate ndiswrapper-driver/receipt @ rev 17901
smbclient: symlink smbspool to cups backend
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Apr 03 11:44:33 2015 -0400 (2015-04-03) |
parents | 293a7bce6d7f |
children | 6fab3264ba87 |
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 |
erjo@1851 | 30 |
erjo@1851 | 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 } |
erjo@1851 | 36 |
erjo@1851 | 37 post_install() |
erjo@1851 | 38 { |
erjo@1851 | 39 echo "Processing post-install commands..." |
pankso@15855 | 40 chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz |
erjo@1851 | 41 } |
erjo@1851 | 42 |
erjo@1851 | 43 post_remove() |
erjo@1851 | 44 { |
erjo@1851 | 45 echo "Processing post-remove commands..." |
pankso@15855 | 46 chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz |
erjo@1851 | 47 } |