guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

31/47: gnu: Add texlive-generic-pdftex.


From: Ricardo Wurmus
Subject: 31/47: gnu: Add texlive-generic-pdftex.
Date: Mon, 17 Jul 2017 08:04:11 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit fedb80ee0e6527cb4e29380a4c2ffd343110287e
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Jul 11 08:53:55 2017 +0200

    gnu: Add texlive-generic-pdftex.
    
    * gnu/packages/tex.scm (texlive-generic-pdftex): New variable.
---
 gnu/packages/tex.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 92bfd85..ce29ba0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3298,6 +3298,38 @@ requires the suffix package, which in turn requires that 
it runs under
 e-TeX.")
     (license license:lppl1.3+)))
 
+(define-public texlive-generic-pdftex
+  (package
+    (name "texlive-generic-pdftex")
+    (version (number->string %texlive-revision))
+    (source (origin
+              (method svn-fetch)
+              (uri (svn-reference
+                    (url (string-append "svn://www.tug.org/texlive/tags/"
+                                        %texlive-tag "/Master/texmf-dist/"
+                                        "/tex/generic/pdftex"))
+                    (revision %texlive-revision)))
+              (sha256
+               (base32
+                "0k68zmqzs4qvrqxdwsrawbjb14hxqjfamq649azvai0jjxdpkljd"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let ((target (string-append (assoc-ref %outputs "out")
+                                      "/share/texmf-dist/tex/generic/pdftex")))
+           (mkdir-p target)
+           (copy-recursively (assoc-ref %build-inputs "source") target)
+           #t))))
+    (home-page "http://www.ctan.org/pkg/pdftex";)
+    (synopsis "TeX extension for direct creation of PDF")
+    (description
+     "This package provides an extension of TeX which can be configured to
+directly generate PDF documents instead of DVI.")
+    (license license:gpl2+)))
+
 (define texlive-texmf
   (package
    (name "texlive-texmf")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]