Fix dependencies, remove large tests and add license

This commit is contained in:
2025-05-11 17:23:54 +03:00
parent bc666edc90
commit 807ac75a52
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -1,7 +1,9 @@
name: lzo name: lzo
description: A portable lossless data compression library written in ANSI C description: A portable lossless data compression library written in ANSI C
version: 2.10 version: 2.10
revision: 2
url: https://www.oberhumer.com/opensource/lzo/ url: https://www.oberhumer.com/opensource/lzo/
license: GPL license: GPL
architecture: any architecture: any
depends: ["glibc"]
type: source type: source
+3 -1
View File
@@ -23,11 +23,13 @@ build() {
# This function is used to run tests to verify the package has been compiled correctly # This function is used to run tests to verify the package has been compiled correctly
check() { check() {
make check make check
make test
} }
# The package function is executed in the source directory # The package function is executed in the source directory
# 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/lzo/COPYING
} }