Fix dependencies, remove large tests and add license
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user