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
a6bf69dd
Commit
a6bf69dd
authored
Oct 10, 2020
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add xmltoman package
parent
b9266b20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
packages/xmltoman.rb
packages/xmltoman.rb
+38
-0
tools/packages.yaml
tools/packages.yaml
+5
-0
No files found.
packages/xmltoman.rb
0 → 100644
View file @
a6bf69dd
require
'package'
class
Xmltoman
<
Package
description
'xmltoman and xmlmantohtml are two small scripts to convert xml to man pages in groff format or html.'
homepage
'https://sourceforge.net/projects/xmltoman/'
version
'0.4'
compatibility
'all'
source_url
'https://downloads.sourceforge.net/project/xmltoman/xmltoman/xmltoman-0.4.tar.gz/xmltoman-0.4.tar.gz'
source_sha256
'948794a316aaecd13add60e17e476beae86644d066cb60171fc6b779f2df14b0'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/xmltoman-0.4-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/xmltoman-0.4-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/xmltoman-0.4-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/xmltoman-0.4-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'a0b2caaf0eee70d7a48fc6d0b3f069e867f5cd4b608231ef2578ba7db653b2bb'
,
armv7l:
'a0b2caaf0eee70d7a48fc6d0b3f069e867f5cd4b608231ef2578ba7db653b2bb'
,
i686:
'850d213a2441ba643dc5d3dae8cb41a7204b7354e47b2332282b45f37198e0d5'
,
x86_64:
'e5c6a17fd6d1a2550d15a9e93fe272e1802a503ca8e9dde849da2bffa1bd5b7d'
,
})
def
self
.
patch
system
"sed -i 's,/usr/bin/perl,
#{
CREW_PREFIX
}
/bin/perl,' xmltoman"
system
"sed -i 's,/usr/bin/perl,
#{
CREW_PREFIX
}
/bin/perl,' xmlmantohtml"
end
def
self
.
build
system
'make'
,
"PREFIX=
#{
CREW_PREFIX
}
"
end
def
self
.
install
system
'make'
,
"PREFIX=
#{
CREW_PREFIX
}
"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
system
"install -Dm644 xmltoman.1
#{
CREW_DEST_MAN_PREFIX
}
/man1/xmltoman.1"
system
"install -Dm644 xmlmantohtml.1
#{
CREW_DEST_MAN_PREFIX
}
/man1/xmlmantohtml.1"
end
end
tools/packages.yaml
View file @
a6bf69dd
...
...
@@ -5934,6 +5934,11 @@ url: https://releases.pagure.org/xmlto
activity
:
none
---
kind
:
url
name
:
xmltoman
url
:
https://sourceforge.net/projects/xmltoman/files/xmltoman/
activity
:
none
---
kind
:
url
name
:
xorg_evdev_driver
url
:
https://www.x.org/pub/individual/driver/
activity
:
low
...
...
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