wok-next diff oyranos/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | |
children | 5669e8b3be70 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/oyranos/receipt Thu Dec 06 13:30:23 2018 +0200 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="oyranos" 1.7 +VERSION="0.9.6" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Colour Management System (CMS) on operating system level" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://oyranos.org/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/oyranos-cms/oyranos/archive/$VERSION.tar.gz" 1.16 + 1.17 +BUILD_DEPENDS="shared-mime-info cmake yajl-dev openicc-config-dev lcms2-dev \ 1.18 +cairo-dev libraw-dev exiv2-dev libpng16-dev xorg-libXfixes-dev \ 1.19 +xorg-libXrandr-dev xorg-libXinerama-dev xorg-libXxf86vm-dev xorg-libXmu-dev \ 1.20 +libxcm-dev libjpeg-turbo-dev tiff-dev gettext" 1.21 +SPLIT="$PACKAGE-dev" 1.22 +COOKOPTS="skip-log-errors" 1.23 + 1.24 +DEPENDS_std="cairo exiv2 libgomp libjpeg-turbo libpng16 libraw libxcm libxml2 \ 1.25 +openicc-config xorg-libX11 xorg-libXfixes xorg-libXinerama xorg-libXrandr \ 1.26 +xorg-libXxf86vm yajl" 1.27 + 1.28 +compile_rules() { 1.29 + # --libdir=/usr/lib : don't want to be /usr/lib64 1.30 + ./configure \ 1.31 + --prefix=/usr \ 1.32 + --libdir=/usr/lib \ 1.33 + --enable-threads \ 1.34 + --enable-xft \ 1.35 + --enable-shared \ 1.36 + $CONFIGURE_ARGS && 1.37 + make && 1.38 + make install 1.39 +} 1.40 + 1.41 +genpkg_rules() { 1.42 + case $PACKAGE in 1.43 + oyranos) copy @std; DEPENDS="$DEPENDS_std";; 1.44 + *-dev) copy @dev;; 1.45 + esac 1.46 +}