add Linux hot-plug

svn path=/nixpkgs/trunk/; revision=3626
This commit is contained in:
Armijn Hemel 2005-08-17 17:37:55 +00:00
parent 28ed4c5fc4
commit e5db73bd73
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "hotplug-2004_03_29";
src = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/linux-hotplug/hotplug-2004_03_29.tar.gz;
md5 = "167bd479a1ca30243c51ca088e0942b3";
};
patches = [./hotplug-install-path.patch];
}

View file

@ -0,0 +1,12 @@
diff -ruN hotplug-2004_03_29/Makefile hotplug-2004_03_29.new/Makefile
--- hotplug-2004_03_29/Makefile 2003-06-28 02:13:10.000000000 +0200
+++ hotplug-2004_03_29.new/Makefile 2005-08-17 19:35:53.000000000 +0200
@@ -5,7 +5,7 @@
REV=$(shell date "+%Y_%m_%d"| awk '{print $$1}')
# System locations
-prefix =
+prefix = ${out}
exec_prefix = ${prefix}
etcdir = ${prefix}/etc
sbindir = ${exec_prefix}/sbin

View file

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