|
|
|
@ -21,19 +21,22 @@ stdenv.mkDerivation rec { |
|
|
|
|
version = "5.1.2"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "mirror://metalab/libs/graphics/t1lib-${version}.tar.gz"; |
|
|
|
|
sha256 = "0nbvjpnmcznib1nlgg8xckrmsw3haa154byds2h90y2g0nsjh4w2"; |
|
|
|
|
url = "mirror://ibiblioPubLinux/libs/graphics/${pname}-${version}.tar.gz"; |
|
|
|
|
hash = "sha256-ghMotQVPeJCg0M0vUoJScHBd82QdvUdtWNF+Vu2Ve1k="; |
|
|
|
|
}; |
|
|
|
|
inherit patches; |
|
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXaw ]; |
|
|
|
|
buildFlags = [ "without_doc" ]; |
|
|
|
|
|
|
|
|
|
postInstall = lib.optionalString (!stdenv.isDarwin) "chmod +x $out/lib/*.so.*"; # ?? |
|
|
|
|
postInstall = lib.optionalString (!stdenv.isDarwin) '' |
|
|
|
|
# ?? |
|
|
|
|
chmod +x $out/lib/*.so.* |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "A type 1 font rasterizer library for UNIX/X11"; |
|
|
|
|
homepage = "http://www.t1lib.org/"; |
|
|
|
|
description = "A type 1 font rasterizer library for UNIX/X11"; |
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ]; |
|
|
|
|
platforms = platforms.unix; |
|
|
|
|
}; |
|
|
|
|