diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-07-17 17:57:26 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-07-17 17:57:26 +0000 |
commit | d169043264eb2982dd2cb744ee298ce92ce06762 (patch) | |
tree | 03dc981ad803e37ebb55e31f3f8480253ccd301a /pkgs/os-specific | |
parent | bed1399eef25b593a9f518c9f54f8ae38382bba8 (diff) |
readd ov511 2.30
svn path=/nixpkgs/trunk/; revision=5745
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/ov511/default.nix | 14 | ||||
-rw-r--r-- | pkgs/os-specific/linux/ov511/ov511-2.30-builder.sh | 18 | ||||
-rw-r--r-- | pkgs/os-specific/linux/ov511/ov511-2.30-default.nix | 12 | ||||
-rw-r--r-- | pkgs/os-specific/linux/ov511/ov511-2.32-builder.sh (renamed from pkgs/os-specific/linux/ov511/builder.sh) | 0 | ||||
-rw-r--r-- | pkgs/os-specific/linux/ov511/ov511-2.32-default.nix | 13 |
5 files changed, 44 insertions, 13 deletions
diff --git a/pkgs/os-specific/linux/ov511/default.nix b/pkgs/os-specific/linux/ov511/default.nix index 31151a972ca17..628261e6c5f02 100644 --- a/pkgs/os-specific/linux/ov511/default.nix +++ b/pkgs/os-specific/linux/ov511/default.nix @@ -1,13 +1 @@ -{stdenv, fetchurl, kernel}: - -stdenv.mkDerivation { - name = "ov511-2.32"; - builder = ./builder.sh; - src = fetchurl { - url = http://www.ovcam.org/ov511/download/2.xx/distros/ov511-2.32.tar.bz2; - md5 = "6a08025311649356242761641a1df0f2"; - }; - patches = [./ov511-kernel.patch ./ov511-2.32.patch ./ov511-2.32-kdir.patch]; - inherit kernel; - NIX_GLIBC_FLAGS_SET=1; -} +import ./ov511-2.30-default.nix diff --git a/pkgs/os-specific/linux/ov511/ov511-2.30-builder.sh b/pkgs/os-specific/linux/ov511/ov511-2.30-builder.sh new file mode 100644 index 0000000000000..8bb282cacf757 --- /dev/null +++ b/pkgs/os-specific/linux/ov511/ov511-2.30-builder.sh @@ -0,0 +1,18 @@ +source $stdenv/setup + +hashname=$(basename $kernel) +echo $hashname +if echo "$hashname" | grep -q '^[a-z0-9]\{32\}-'; then + hashname=$(echo "$hashname" | cut -c -32) +fi + +stripHash $kernel +version=$(echo $strippedName | cut -c 7-)-$hashname + +echo "version $version" + +export version + +ensureDir $out/lib/modules/$version/kernel/drivers/usb/media/ + +genericBuild diff --git a/pkgs/os-specific/linux/ov511/ov511-2.30-default.nix b/pkgs/os-specific/linux/ov511/ov511-2.30-default.nix new file mode 100644 index 0000000000000..44f684e681e57 --- /dev/null +++ b/pkgs/os-specific/linux/ov511/ov511-2.30-default.nix @@ -0,0 +1,12 @@ +{stdenv, fetchurl, kernel}: + +stdenv.mkDerivation { + name = "ov511-2.30"; + builder = ./ov511-2.30-builder.sh; + src = fetchurl { + url = http://nix.cs.uu.nl/dist/tarballs/ov511-2.30.tar.bz2; + md5 = "9eacf9e54f2f54a59ddbf14221a53f2a"; + }; + patches = [./ov511-kernel.patch]; + inherit kernel; +} diff --git a/pkgs/os-specific/linux/ov511/builder.sh b/pkgs/os-specific/linux/ov511/ov511-2.32-builder.sh index c189c2e17068a..c189c2e17068a 100644 --- a/pkgs/os-specific/linux/ov511/builder.sh +++ b/pkgs/os-specific/linux/ov511/ov511-2.32-builder.sh diff --git a/pkgs/os-specific/linux/ov511/ov511-2.32-default.nix b/pkgs/os-specific/linux/ov511/ov511-2.32-default.nix new file mode 100644 index 0000000000000..6af69d882dba0 --- /dev/null +++ b/pkgs/os-specific/linux/ov511/ov511-2.32-default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, kernel}: + +stdenv.mkDerivation { + name = "ov511-2.32"; + builder = ./ov511-2.32-builder.sh; + src = fetchurl { + url = http://www.ovcam.org/ov511/download/2.xx/distros/ov511-2.32.tar.bz2; + md5 = "6a08025311649356242761641a1df0f2"; + }; + patches = [./ov511-kernel.patch ./ov511-2.32.patch ./ov511-2.32-kdir.patch]; + inherit kernel; + NIX_GLIBC_FLAGS_SET=1; +} |