Fix dependencies, add comments and license
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
name: sed
|
||||
description: GNU stream editor
|
||||
version: 4.9
|
||||
revision: 2
|
||||
revision: 3
|
||||
url: https://www.gnu.org/software/sed/
|
||||
license: GPL3
|
||||
architecture: any
|
||||
depends: ["acl","attr","glibc"]
|
||||
make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","grep","make","sed","texinfo"]
|
||||
depends: ["acl","glibc"]
|
||||
make_depends: ["gettext"]
|
||||
type: source
|
||||
|
||||
@@ -30,6 +30,11 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
install -d -m755 "$BPM_OUTPUT"/usr/share/doc/sed
|
||||
install -m644 doc/sed.html "$BPM_OUTPUT"/usr/share/doc/sed
|
||||
|
||||
# Install documentation
|
||||
install -d "$BPM_OUTPUT"/usr/share/doc/sed
|
||||
install -m644 doc/sed.html "$BPM_OUTPUT"/usr/share/doc/sed/sed.html
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/sed/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user