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