svn path=/nixpkgs/trunk/; revision=3636
This commit is contained in:
Armijn Hemel 2005-08-19 14:11:05 +00:00
parent 33110a9dde
commit 97dfe971f7
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "udev-068";
src = fetchurl {
url = http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-068.tar.bz2;
md5 = "fd9db7375dae81e8aa634414b5ede0d6";
};
patches = [./udev-installpath.patch];
}

View File

@ -0,0 +1,12 @@
diff -ruN udev-068/Makefile udev-068.new/Makefile
--- udev-068/Makefile 2005-08-18 19:04:49.000000000 +0200
+++ udev-068.new/Makefile 2005-08-19 16:09:22.000000000 +0200
@@ -55,7 +55,7 @@
STARTER = udevstart
RELEASE_NAME = $(ROOT)-$(VERSION)
LOCAL_CFG_DIR = etc/udev
-DESTDIR =
+DESTDIR = ${out}
KERNEL_DIR = /lib/modules/${shell uname -r}/build
# override this to make udev look in a different location for it's config files

View File

@ -1109,6 +1109,10 @@ rec {
inherit fetchurl stdenv;
};
udev = import ../os-specific/linux/udev {
inherit fetchurl stdenv;
};
### DATA
docbook_xml_dtd_42 = (import ../data/sgml+xml/schemas/xml-dtd/docbook-4.2) {