1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
# $Id: /local/debian/dists/rt73/debian/modules.packages 39 2007-10-18T20:21:13.038827Z dexter $
%define yada_from_etch 0.52
%define KSRC %{?$KSRC:%{$KSRC}}%{!?$KSRC:/usr/src/linux}
%define KVERS %{?$KVERS:%{$KVERS}}%{!?$KVERS:%`sed -n -e '/UTS_RELEASE/s/^[^"]*"\([^"]*\)".*$/\1/p' %{KSRC}/include/linux/version.h 2>/dev/null || echo "UNKNOWN"`}
%define KDREV %{?$KDREV:%{$KDREV}}%{!?$KDREV:UNKNOWN}
# KSRC=%{KSRC}
# KVERS=%{KVERS}
# KDREV=%{KDREV}
Source: rt73-source
Section: net
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.7.2
Upstream-Source: <URL:http://rt2x00.serialmonkey.com/wiki/index.php?title=Downloads>
Home-Page: <URL:http://rt2x00.serialmonkey.com/>
Description: RT73(RT2571W) Wireless Lan Linux Driver - kernel module sources
This is a linux device driver for Ralink RT73 a/b/g WLAN Card.
Copyright: GPL
RT2x00 SourceForge Project - http://rt2x00.serialmonkey.com
.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
Licensed under the GNU GPL
Original code supplied under license from RaLink Inc, 2004.
Build-Depends: module-assistant, bzip2, yada (>= %{yada_from_etch})
Build: sh
CC=${CC:-gcc}
make -C /lib/modules/%{KVERS}/build SUBDIRS=$(pwd) modules
Clean: sh
make clean || true
Package: rt73-module-%{KVERS}
Architecture: i386 amd64
Depends: rt73-common
%if %{KDREV}
Recommends: linux-image-%{KVERS} (= %{KDREV})
%else
Recommends: linux-image-%{KVERS}
%endif
Provides: rt73-module
Description: RT73(RT2571W) Wireless Lan Linux Driver - kernel module sources
This package provides kernel modules.
Install: sh
if [ -f %{KSRC}/scripts/Makefile.modinst ]; then
MODEXT=ko
else
MODEXT=o
fi
.
yada install -lib -unstripped -into /lib/modules/%{KVERS}/kernel/drivers/net/wireless \
-as rt73.$MODEXT rt73.ko
Postinst: sh
if [ "`uname -r`" = "%{KVERS}" ]; then
/sbin/depmod -a
fi
Contains: unstripped kernel-modules
|