Fix dependencies, add comments and license
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
name: sed
|
name: sed
|
||||||
description: GNU stream editor
|
description: GNU stream editor
|
||||||
version: 4.9
|
version: 4.9
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.gnu.org/software/sed/
|
url: https://www.gnu.org/software/sed/
|
||||||
license: GPL3
|
license: GPL3
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["acl","attr","glibc"]
|
depends: ["acl","glibc"]
|
||||||
make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","grep","make","sed","texinfo"]
|
make_depends: ["gettext"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -30,6 +30,11 @@ check() {
|
|||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
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