From 807ac75a527abdafabe9f8eac4d96cb065fedf51 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 17:23:54 +0300 Subject: [PATCH] Fix dependencies, remove large tests and add license --- pkg.info | 2 ++ source.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg.info b/pkg.info index 29fc6c3..536f632 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,9 @@ name: lzo description: A portable lossless data compression library written in ANSI C version: 2.10 +revision: 2 url: https://www.oberhumer.com/opensource/lzo/ license: GPL architecture: any +depends: ["glibc"] type: source diff --git a/source.sh b/source.sh index f3ddcf7..d22dd18 100644 --- a/source.sh +++ b/source.sh @@ -23,11 +23,13 @@ build() { # This function is used to run tests to verify the package has been compiled correctly check() { make check - make test } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/lzo/COPYING }