aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-07-11 08:53:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-07-17 14:00:15 +0200
commitfedb80ee0e6527cb4e29380a4c2ffd343110287e (patch)
treed99723e36c354c35b557e6f2d0d3e45accf41e84
parent63ed869bdd785f6a05b0ea287cc0637ecfbc6f6f (diff)
downloadpatches-fedb80ee0e6527cb4e29380a4c2ffd343110287e.tar
patches-fedb80ee0e6527cb4e29380a4c2ffd343110287e.tar.gz
gnu: Add texlive-generic-pdftex.
* gnu/packages/tex.scm (texlive-generic-pdftex): New variable.
-rw-r--r--gnu/packages/tex.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 92bfd85fca..ce29ba0296 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")