Fix dependencies and add license
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
name: grep
|
name: grep
|
||||||
description: GNU string search utility
|
description: GNU string search utility
|
||||||
version: 3.11
|
version: 3.11
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.gnu.org/software/grep/
|
url: https://www.gnu.org/software/grep/
|
||||||
license: GPL3
|
license: GPL3
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc","pcre2"]
|
depends: ["glibc","pcre2"]
|
||||||
make_depends: ["texinfo"]
|
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -29,4 +29,7 @@ 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 package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/grep/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user