change name and path

This commit is contained in:
Karsten Keil 2003-07-21 12:07:51 +00:00
parent ebc659e082
commit 0d0b392d17
3 changed files with 17 additions and 18 deletions

View File

@ -5,9 +5,9 @@
DESTDIR = DESTDIR =
KDIR := /usr/src/linux KDIR := /usr/src/linux
TARGET := newmISDN TARGET := mISDN
TARGETS := Rules.make arch scripts .config include $(TARGET) TARGETS := Rules.make arch scripts .config include $(TARGET)
TARGETDIR := drivers/isdn/mISDN TARGETDIR := drivers/isdn/hardware/mISDN
default: $(TARGETS) default: $(TARGETS)

View File

@ -1,4 +1,4 @@
# km_newmISDN slave Makefile # km_mISDN slave Makefile
# (c) 10/2001 Karsten Keil <kkeil@suse.de> # (c) 10/2001 Karsten Keil <kkeil@suse.de>
# #
KDIR = /usr/src/linux KDIR = /usr/src/linux
@ -30,7 +30,7 @@ FINDHPATH += $(MYDIR)/newinclude/linux
MODLIB := $(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) MODLIB := $(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
newmISDN: $(TARGETDIR) depend newmISDN_mod mISDN: $(TARGETDIR) depend mISDN_mod
$(MAKE) -C $(TARGETDIR) CFLAGS="$(CFLAGS)" MAKING_MODULES=1 modules $(MAKE) -C $(TARGETDIR) CFLAGS="$(CFLAGS)" MAKING_MODULES=1 modules
dep-files: scripts/mkdep archdep include/linux/version.h dep-files: scripts/mkdep archdep include/linux/version.h
@ -50,7 +50,7 @@ install: install_mod
install_mod: modules_install install_mod: modules_install
newmISDN_mod: mISDN_mod:
echo patchlevel $(PATCHLEVEL) echo patchlevel $(PATCHLEVEL)
mkdir -p modules mkdir -p modules
@ -58,7 +58,7 @@ else
TARGETMODDIR = ../misc TARGETMODDIR = ../misc
newmISDN_mod: mISDN_mod:
echo patchlevel $(PATCHLEVEL) echo patchlevel $(PATCHLEVEL)
install: install_mod install: install_mod

View File

@ -1,22 +1,21 @@
Vendor: SuSE GmbH, Nuernberg, Germany Vendor: SuSE GmbH, Nuernberg, Germany
Distribution: SuSE Linux 8.2 (i386) Distribution: SuSE Linux 8.2 (i386)
Name: km_newmISDN Name: km_mISDN
Release: 2 Release: 2
Packager: feedback@suse.de Packager: feedback@suse.de
Copyright: Karsten Keil GPL Copyright: Karsten Keil GPL
Group: unsorted Group: unsorted
Provides: mISDNcapi_modules
Autoreqprov: on Autoreqprov: on
Version: 1.1 Version: 1.0
Summary: capi driver for mISDN Summary: modular ISDN driver architecture
Source: newmISDN-%{version}-%{release}.tar.bz2 Source: newmISDN-%{version}-%{release}.tar.bz2
#Patch: isdn4k-utils.dif #Patch: isdn4k-utils.dif
Buildroot: /var/tmp/newmISDN.build Buildroot: /var/tmp/newmISDN.build
%description %description
This package provides the new mISDN capidriver sourcecode for kernelmodules This package provides the mISDN sourcecode for kernelmodules
Attention!!! These modules are alpha code and experimental, they may be Attention!!! These modules are BETA code and experimental, they may be
crash your machine. Here is no support from SuSE for it. crash your machine. Here is no support from SuSE for it.
Authors: Authors:
@ -26,7 +25,7 @@ Authors:
SuSE series: unsorted SuSE series: unsorted
%prep %prep
%setup -n newmISDN %setup -n mISDN
#%patch #%patch
%build %build
@ -34,7 +33,7 @@ mv Makefile.standalone Makefile
%install %install
rm -f -r $RPM_BUILD_ROOT rm -f -r $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT/usr/src/kernel-modules/newmISDN DESTDIR=$RPM_BUILD_ROOT/usr/src/kernel-modules/mISDN
mkdir -p $DESTDIR mkdir -p $DESTDIR
install -p Makefile* $DESTDIR install -p Makefile* $DESTDIR
install -p Rules.make.ext $DESTDIR install -p Rules.make.ext $DESTDIR
@ -51,10 +50,10 @@ install -p drivers/isdn/mISDN/*.[ch] $DESTDIR/drivers/isdn/mISDN
%clean %clean
%files %files
%dir %attr (-,root,root) /usr/src/kernel-modules/newmISDN %dir %attr (-,root,root) /usr/src/kernel-modules/mISDN
%attr (-,root,root) /usr/src/kernel-modules/newmISDN/* %attr (-,root,root) /usr/src/kernel-modules/mISDN/*
%changelog -n km_newmISDN %changelog -n km_mISDN
* Mon Oct 01 2001 - kkeil@suse.de * Tue Jul 01 2003 - kkeil@suse.de
- first version - first version