Update package version to 2.18
This commit is contained in:
@@ -1,8 +1,16 @@
|
|||||||
name: lcms2
|
name: lcms2
|
||||||
description: Open-source small-footprint color management engine
|
description: Open-source small-footprint color management engine
|
||||||
version: 2.17
|
version: "2.18"
|
||||||
|
revision: 1
|
||||||
url: https://www.littlecms.com/
|
url: https://www.littlecms.com/
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["libjpeg-turbo","libtiff"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- libjpeg-turbo
|
||||||
|
- libtiff
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/mm2/Little-CMS/releases/download/lcms${BPM_PKG_VERSION##.*}/lcms2-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: ee67be3566f459362c1ee094fde2c159d33fa0390aa4ed5f5af676f9e5004347
|
||||||
|
|||||||
@@ -2,16 +2,6 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/mm2/Little-CMS/releases/download/lcms${BPM_PKG_VERSION##.*}/lcms2-${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
@@ -30,5 +20,6 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/lcms2/LICENSE
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/lcms2/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user