mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 01:27:39 +00:00
add xpdf
svn path=/nixpkgs/trunk/; revision=4311
This commit is contained in:
parent
31c615a95d
commit
f880e6e099
5
pkgs/applications/misc/xpdf/builder.sh
Normal file
5
pkgs/applications/misc/xpdf/builder.sh
Normal file
@ -0,0 +1,5 @@
|
||||
source $stdenv/setup
|
||||
|
||||
configureFlags="--x-includes=$libX11/include --x-libraries=$libX11/lib"
|
||||
|
||||
genericBuild
|
11
pkgs/applications/misc/xpdf/default.nix
Normal file
11
pkgs/applications/misc/xpdf/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, libX11}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xpdf-3.01";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.01.tar.gz;
|
||||
md5 = "e004c69c7dddef165d768b1362b44268";
|
||||
};
|
||||
inherit libX11;
|
||||
}
|
@ -1753,6 +1753,11 @@ rec {
|
||||
inherit fetchurl stdenv wxGTK chmlib;
|
||||
};
|
||||
|
||||
xpdf = (import ../applications/misc/xpdf) {
|
||||
inherit fetchurl stdenv;
|
||||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
acroread = (import ../applications/misc/acrobat-reader) {
|
||||
inherit fetchurl stdenv zlib;
|
||||
inherit (xlibs) libXt libXp libXext libX11 libXinerama;
|
||||
|
Loading…
Reference in New Issue
Block a user