wok-next annotate openicc-config/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | |
children |
rev | line source |
---|---|
al@21042 | 1 # SliTaz package receipt v2. |
al@21042 | 2 |
al@21042 | 3 PACKAGE="openicc-config" |
al@21042 | 4 VERSION="0.1.0" |
al@21042 | 5 CATEGORY="x-window" |
al@21042 | 6 SHORT_DESC="Simple JSON based Color Management Configuration" |
al@21042 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@21042 | 8 LICENSE="MIT" |
al@21042 | 9 WEB_SITE="https://github.com/OpenICC/config" |
al@21042 | 10 |
al@21042 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21042 | 12 WGET_URL="https://github.com/OpenICC/config/archive/$VERSION.tar.gz" |
al@21042 | 13 |
al@21042 | 14 BUILD_DEPENDS="cmake yajl-dev gettext" |
al@21042 | 15 SPLIT="$PACKAGE-dev" |
al@21042 | 16 |
al@21042 | 17 DEPENDS_std="yajl" |
al@21042 | 18 |
al@21042 | 19 compile_rules() { |
al@21042 | 20 mkdir build |
al@21042 | 21 cd build |
al@21042 | 22 cmake \ |
al@21042 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21042 | 24 -DCMAKE_BUILD_TYPE=Release \ |
al@21042 | 25 .. && |
al@21042 | 26 make && |
al@21042 | 27 make install |
al@21042 | 28 } |
al@21042 | 29 |
al@21042 | 30 genpkg_rules() { |
al@21042 | 31 case $PACKAGE in |
al@21042 | 32 openicc-config) copy @std; DEPENDS="$DEPENDS_std";; |
al@21042 | 33 *-dev) copy @dev;; |
al@21042 | 34 esac |
al@21042 | 35 } |