wok-next diff lcms2/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents 75632eca5b07
children
line diff
     1.1 --- a/lcms2/receipt	Mon Dec 24 02:07:02 2018 +0200
     1.2 +++ b/lcms2/receipt	Tue Sep 01 10:09:15 2020 +0100
     1.3 @@ -11,29 +11,25 @@
     1.4  
     1.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.6  WGET_URL="$SF_MIRROR/lcms/$TARBALL"
     1.7 +TARBALL_SHA1="60bea9875e017dd1c466e988c2ad98f8766e4e55"
     1.8  
     1.9  BUILD_DEPENDS="libjpeg-turbo-dev zlib-dev tiff-dev"
    1.10 -SPLIT="$PACKAGE-apps $PACKAGE-dev"
    1.11 +SPLIT="lib$PACKAGE $PACKAGE-static $PACKAGE-dev $PACKAGE"
    1.12 +
    1.13 +COPY_liblcms2="*.so.*"
    1.14 +COPY_static="*.a"
    1.15 +COPY_dev="@dev @rm *.so"
    1.16 +
    1.17 +CAT_liblcms="graphics|shared library"
    1.18 +CAT_static="development|static library"
    1.19 +
    1.20 +DEPENDS_liblcms2=" "
    1.21 +DEPENDS_static=" "
    1.22 +DEPENDS_std="lib$PACKAGE libjpeg-turbo libtiff"
    1.23  
    1.24  compile_rules() {
    1.25 -	# don't use --disable-static: optipng-static require such lib
    1.26 -
    1.27  	./configure $CONFIGURE_ARGS &&
    1.28  	fix libtool &&
    1.29  	make &&
    1.30  	make install
    1.31  }
    1.32 -
    1.33 -genpkg_rules() {
    1.34 -	case $PACKAGE in
    1.35 -		lcms2)
    1.36 -			copy *.so*
    1.37 -			;;
    1.38 -		lcms2-apps)
    1.39 -			copy bin/
    1.40 -			CAT="graphics|applications"
    1.41 -			DEPENDS="lcms2 libjpeg-turbo libtiff"
    1.42 -			;;
    1.43 -		*-dev) copy @dev;;
    1.44 -	esac
    1.45 -}