add cramfsswap

svn path=/nixpkgs/trunk/; revision=8412
This commit is contained in:
Armijn Hemel 2007-03-24 12:01:50 +00:00
parent 505c169238
commit 5aec79e3ca
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,6 @@
source $stdenv/setup
export DESTDIR=$out
ensureDir $out/usr/bin
genericBuild

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, zlib}:
stdenv.mkDerivation {
name = "cramfsswap-1.3.1";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.debian.org/debian/pool/main/c/cramfsswap/cramfsswap_1.3.1.tar.gz;
sha256 = "1dh1z50spxgi0nn33ag7zzm2svl8h1w32kfhy1lzc2vxvxdfyq9r";
};
buildInputs = [zlib];
}

View File

@ -2171,6 +2171,10 @@ rec {
inherit fetchurl stdenv alsaLib ncurses gettext;
};
cramfsswap = import ../os-specific/linux/cramfsswap {
inherit fetchurl stdenv zlib;
};
#uclibcSparc = import ../development/uclibc {
# inherit fetchurl stdenv mktemp;
# kernelHeadersCross = kernelHeadersSparc;