add cdrtools. There are some references to some package in /opt/schily, which I haven't checked out completely yet...

svn path=/nixpkgs/trunk/; revision=3755
This commit is contained in:
Armijn Hemel 2005-08-30 19:41:10 +00:00
parent 92214b90bc
commit 6ef2284079
4 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,11 @@
source $stdenv/setup
prefix=$out
configurePhase() {
echo ;
}
configurePhase=configurePhase
genericBuild

View File

@ -0,0 +1,13 @@
diff -ruN cdrtools-2.01/DEFAULTS/Defaults.linux cdrtools-2.01.new/DEFAULTS/Defaults.linux
--- cdrtools-2.01/DEFAULTS/Defaults.linux 2003-02-16 01:01:48.000000000 +0100
+++ cdrtools-2.01.new/DEFAULTS/Defaults.linux 2005-08-30 21:13:55.000000000 +0200
@@ -27,7 +27,8 @@
# Installation config stuff
#
###########################################################################
-INS_BASE= /opt/schily
+#INS_BASE= /opt/schily
+INS_BASE= $(out)
INS_KBASE= /
#
DEFUMASK= 002

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "cdrtools-2.01";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.berlios.de/pub/cdrecord/cdrtools-2.01.tar.bz2;
md5 = "d44a81460e97ae02931c31188fe8d3fd";
};
patches = [./cdrtools-2.01-install.patch];
}

View File

@ -1413,6 +1413,10 @@ rec {
gtksharp = gtksharp1;
};
cdrtools = (import ../applications/misc/cdrtools) {
inherit fetchurl stdenv;
};
hello = (import ../applications/misc/hello/ex-1) {
inherit fetchurl stdenv perl;
};