add cups. This is not complete, it misses PAM, SSL and a lot of other support...

svn path=/nixpkgs/trunk/; revision=4113
This commit is contained in:
Armijn Hemel 2005-10-21 13:06:08 +00:00
parent a55b35c264
commit d5b2a3cfe2
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,5 @@
source $stdenv/setup
export INITDIR=$out/etc/rc.d
genericBuild

View file

@ -0,0 +1,12 @@
diff -ruN cups-1.1.23/Makedefs.in cups-1.1.23.new/Makedefs.in
--- cups-1.1.23/Makedefs.in 2005-01-03 20:29:44.000000000 +0100
+++ cups-1.1.23.new/Makedefs.in 2005-10-21 14:53:34.000000000 +0200
@@ -139,7 +139,7 @@
DATADIR = $(BUILDROOT)@CUPS_DATADIR@
DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
INCLUDEDIR = $(BUILDROOT)$(includedir)
-INITDIR = @INITDIR@
+INITDIR = $(out)/etc/rc.d
INITDDIR = @INITDDIR@
LIBDIR = $(BUILDROOT)$(libdir)
LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@

View file

@ -0,0 +1,11 @@
{ stdenv, fetchurl}:
stdenv.mkDerivation {
name = "cups-1.1.23";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cups/1.1.23/cups-1.1.23-source.tar.bz2;
md5 = "4ce09b1dce09b6b9398af0daae9adf63";
};
patches = [./cups-rc.d.patch];
}