* Added GPL Ghostscript 8.15.
svn path=/nixpkgs/trunk/; revision=2941
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
postInstall=postInstall
|
||||||
|
postInstall() {
|
||||||
|
for i in $fonts; do
|
||||||
|
(cd $out/share/ghostscript && tar xvfz $i)
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
genericBuild
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{stdenv, fetchurl, libjpeg, libpng, zlib}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ghostscript-8.15";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs815/ghostscript-8.15.tar.bz2;
|
||||||
|
md5 = "ab8502f30629b730e0c9ca56b88a6b9d";
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts = [
|
||||||
|
(fetchurl {
|
||||||
|
url = ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs815/ghostscript-fonts-std-8.11.tar.gz;
|
||||||
|
md5 = "6865682b095f8c4500c54b285ff05ef6";
|
||||||
|
})
|
||||||
|
# ... add other fonts here
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [libjpeg libpng zlib];
|
||||||
|
|
||||||
|
configureFlags = "--without-x";
|
||||||
|
}
|
||||||
@@ -1293,6 +1293,10 @@ rec {
|
|||||||
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
|
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ghostscript = (import ../misc/ghostscript) {
|
||||||
|
inherit fetchurl stdenv libjpeg libpng zlib;
|
||||||
|
};
|
||||||
|
|
||||||
nix = (import ../misc/nix) {
|
nix = (import ../misc/nix) {
|
||||||
inherit fetchurl stdenv aterm perl;
|
inherit fetchurl stdenv aterm perl;
|
||||||
curl = bootCurl; /* !!! ugly */
|
curl = bootCurl; /* !!! ugly */
|
||||||
|
|||||||
Reference in New Issue
Block a user