Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Exclude bpm archives
|
||||
*.bpm
|
||||
@@ -0,0 +1,15 @@
|
||||
name: xmltoman
|
||||
description: Convert xml to man pages in groff format or html
|
||||
version: "0.4"
|
||||
revision: 1
|
||||
url: http://xmltoman.sourceforge.net/
|
||||
license: GPL2
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- perl-xml-parser
|
||||
downloads:
|
||||
- url: https://downloads.sourceforge.net/project/xmltoman/xmltoman/xmltoman-${BPM_PKG_VERSION}.tar.gz/xmltoman-${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 948794a316aaecd13add60e17e476beae86644d066cb60171fc6b779f2df14b0
|
||||
@@ -0,0 +1,18 @@
|
||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
make PREFIX=/usr
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" PREFIX=/usr install
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xmltoman/COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user