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 }