wok-next diff openicc-config/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openicc-config/receipt	Wed May 13 07:41:00 2020 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="openicc-config"
     1.7 +VERSION="0.1.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Simple JSON based Color Management Configuration"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/OpenICC/config"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/OpenICC/config/archive/$VERSION.tar.gz"
    1.16 +
    1.17 +BUILD_DEPENDS="cmake yajl-dev gettext"
    1.18 +SPLIT="$PACKAGE-dev"
    1.19 +
    1.20 +DEPENDS_std="yajl"
    1.21 +
    1.22 +compile_rules() {
    1.23 +	mkdir build
    1.24 +	cd    build
    1.25 +	cmake \
    1.26 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.27 +		-DCMAKE_BUILD_TYPE=Release \
    1.28 +		.. &&
    1.29 +	make &&
    1.30 +	make install
    1.31 +}
    1.32 +
    1.33 +genpkg_rules() {
    1.34 +	case $PACKAGE in
    1.35 +		openicc-config) copy @std; DEPENDS="$DEPENDS_std";;
    1.36 +		*-dev)          copy @dev;;
    1.37 +	esac
    1.38 +}