Fix dependencies and add license

This commit is contained in:
2025-05-11 11:56:51 +03:00
parent d0223cc4ca
commit 976d472632
2 changed files with 7 additions and 3 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
name: gzip name: gzip
description: GNU compression utility description: GNU compression utility
version: 1.13 version: 1.13
revision: 2 revision: 3
url: https://www.gnu.org/software/gzip/ url: https://www.gnu.org/software/gzip/
license: GPL3-or-later license: GPL3-or-later
architecture: any architecture: any
depends: ["bash","glibc"] depends: ["glibc"]
make_depends: ["bash","binutils","coreutils","gcc","glibc","grep","make","sed","texinfo"] optional_depends: ["diffutils","less","util-linux"]
make_depends: ["less","perl"]
type: source type: source
+3
View File
@@ -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/gzip/COPYING
} }