Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
8298b924
Commit
8298b924
authored
Aug 15, 2017
by
Jan Baudisch
Committed by
Kazushi (Jam) Marukawa
Aug 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DocBook-XSL
parent
eeae67d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
packages/docbook_xsl.rb
packages/docbook_xsl.rb
+57
-0
No files found.
packages/docbook_xsl.rb
0 → 100644
View file @
8298b924
require
'package'
# from LFS: http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html
class
Docbook_xsl
<
Package
description
'The DocBook XSL Stylesheets package contains XSL stylesheets. These are useful for performing transformations on XML DocBook files.'
homepage
'https://github.com/docbook/xslt10-stylesheets'
version
'1.79.1'
source_url
'http://downloads.sourceforge.net/docbook/docbook-xsl-1.79.1.tar.bz2'
source_sha256
'725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968'
depends_on
'unzip'
depends_on
'libxml2'
depends_on
'libxslt'
depends_on
'docbook_xml'
depends_on
'docbook'
def
self
.
build
end
def
self
.
install
system
"install -v -m755 -d
#{
CREW_DEST_DIR
}
/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1 &&
cp -v -R VERSION assembly common eclipse epub epub3 extensions fo \
highlighting html htmlhelp images javahelp lib manpages params \
profiling roundtrip slides template tests tools webhelp website \
xhtml xhtml-1_1 xhtml5 \
#{
CREW_DEST_DIR
}
/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1 &&
ln -s VERSION
#{
CREW_DEST_DIR
}
/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1/VERSION.xsl &&
install -v -m644 -D README \
#{
CREW_DEST_DIR
}
/usr/local/share/doc/docbook-xsl-1.79.1/README.txt &&
install -v -m644 RELEASE-NOTES* NEWS* \
#{
CREW_DEST_DIR
}
/usr/local/share/doc/docbook-xsl-1.79.1"
system
"xmlcatalog --noout --add 'rewriteSystem' \
'http://docbook.sourceforge.net/release/xsl/1.79.1' \
'
#{
CREW_DEST_DIR
}
/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog &&
xmlcatalog --noout --add 'rewriteURI' \
'http://docbook.sourceforge.net/release/xsl/1.79.1' \
'
#{
CREW_DEST_DIR
}
/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog &&
xmlcatalog --noout --add 'rewriteSystem' \
'http://docbook.sourceforge.net/release/xsl/current' \
'
#{
CREW_DEST_DIR
}
/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog &&
xmlcatalog --noout --add 'rewriteURI' \
'http://docbook.sourceforge.net/release/xsl/current' \
'
#{
CREW_DEST_DIR
}
/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment