wok-next view openicc-config/receipt @ rev 21084

Add librefox
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 25 14:44:32 2018 +0200 (2018-12-25)
parents
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openicc-config"
4 VERSION="0.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple JSON based Color Management Configuration"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/OpenICC/config"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/OpenICC/config/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake yajl-dev gettext"
15 SPLIT="$PACKAGE-dev"
17 DEPENDS_std="yajl"
19 compile_rules() {
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_BUILD_TYPE=Release \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 openicc-config) copy @std; DEPENDS="$DEPENDS_std";;
33 *-dev) copy @dev;;
34 esac
35 }