gnu: texlive-latex-oberdiek: Build ifpdf package.

* gnu/packages/tex.scm (texlive-latex-oberdiek)[arguments]: Only build the
"oberdiek.ins" package (which includes all other packages); patch file to
build "ifpdf.dtx" instead of "ifpdf.ins".
This commit is contained in:
Ricardo Wurmus 2017-07-02 15:07:07 +02:00
parent 702f23b3b8
commit 05d28068ed
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 2 deletions

View File

@ -1022,13 +1022,14 @@ nameref packages, which make use of the facilities of hyperref.")
(build-system texlive-build-system)
(arguments
'(#:tex-directory "latex/oberdiek"
#:build-targets '("oberdiek.ins")
#:phases
(modify-phases %standard-phases
;; "ifpdf.ins" is not generated, so we cannot process it.
;; "ifpdf.ins" is not generated, so we need to process the dtx file.
(add-after 'unpack 'do-not-process-ifpdf.ins
(lambda _
(substitute* "oberdiek.ins"
(("\\\\batchinput\\{ifpdf.ins\\}") ""))
(("ifpdf.ins") "ifpdf.dtx"))
#t)))))
(home-page "http://www.ctan.org/pkg/oberdiek")
(synopsis "Bundle of packages submitted by Heiko Oberdiek")