wok-next diff gucharmap/receipt @ rev 20522

libcss: add missing patches.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 15:09:22 2018 +0200 (2018-03-23)
parents 0e45ab8d23da
children 757d032c55c7
line diff
     1.1 --- a/gucharmap/receipt	Wed Oct 11 20:58:11 2017 +0200
     1.2 +++ b/gucharmap/receipt	Fri Mar 23 15:09:22 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gucharmap"
     1.8  VERSION="3.0.1"
     1.9 @@ -10,9 +10,8 @@
    1.10  WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap"
    1.11  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.12  
    1.13 -DEPENDS="gtk+ xorg-libXdamage"
    1.14  BUILD_DEPENDS="itstool libxml2-tools glib-dev gtk+-dev intltool"
    1.15 -SPLIT="gucharmap-i18n"
    1.16 +SPLIT="gucharmap gucharmap-dev gucharmap-i18n"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -31,9 +30,28 @@
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
    1.25 -	cp -a $install/etc $fs
    1.26 -	cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
    1.27 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.28 -	cp -a $install/usr/share/applications $fs/usr/share
    1.29 +	case $PACKAGE in
    1.30 +	gucharmap)
    1.31 +		DEPENDS="gtk+ xorg-libXdamage"
    1.32 +		mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
    1.33 +		cp -a $install/etc $fs
    1.34 +		cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
    1.35 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.36 +		cp -a $install/usr/share/applications $fs/usr/share
    1.37 +		;;
    1.38 +	gucharmap-dev)
    1.39 +		CAT="development|GNOME Character Map (GTK+2), development files"
    1.40 +		DEPENDS="gucharmap"
    1.41 +		mkdir -p $fs/usr/lib $fs/usr/share
    1.42 +		cp -a $install/usr/include $fs/usr
    1.43 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.44 +		cp -a $install/usr/lib/*.la $fs/usr/lib
    1.45 +		;;
    1.46 +	gucharmap-i18n)
    1.47 +		CAT="localization|Language files for GNOME Character Map (GTK+2)"
    1.48 +		DEPENDS="gucharmap"
    1.49 +		mkdir -p $fs/usr/share/locale
    1.50 +		cp -a $install/usr/share/locale/* $fs/usr/share/locale
    1.51 +		;;
    1.52 +	esac
    1.53  }