wok rev 17873

eom: Update bdeps and genpkg_rules
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 27 02:10:52 2015 -0300 (2015-03-27)
parents ad3485620c14
children 4b381386b233
files eom-dev/receipt eom/receipt
line diff
     1.1 --- a/eom-dev/receipt	Fri Mar 27 01:59:39 2015 +0100
     1.2 +++ b/eom-dev/receipt	Fri Mar 27 02:10:52 2015 -0300
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="eom-dev"
     1.5  VERSION="1.9.0"
     1.6  CATEGORY="libdevel"
     1.7 -LICENSE="GPL3"
     1.8 +LICENSE="GPL"
     1.9  SHORT_DESC="MATE's default image viewer, devel files."
    1.10  MAINTAINER="yuripourre@gmail.com"
    1.11  WANTED="eom"
    1.12 @@ -11,8 +11,8 @@
    1.13  
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.17 -	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.18 +	mkdir -p $fs/usr/lib/$WANTED/plugins/ $fs/usr/include
    1.19 +	cp -a $install/usr/lib/$WANTED/plugins/*.la $fs/usr/lib
    1.20  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.21  	cp -a $install/usr/include/* $fs/usr/include
    1.22  }
     2.1 --- a/eom/receipt	Fri Mar 27 01:59:39 2015 +0100
     2.2 +++ b/eom/receipt	Fri Mar 27 02:10:52 2015 -0300
     2.3 @@ -13,7 +13,8 @@
     2.4  DEPENDS="gtk+ dconf jpeg pygtk desktop-file-utils exempi lcms libexif librsvg"
     2.5  BUILD_DEPENDS="wget autoconf automake libtool itstool mate-desktop-dev \
     2.6  mate-common-dev dconf-dev gtk-doc gtk+-dev yelp-tools mate-icon-theme \
     2.7 -jpeg-dev gobject-introspection-dev shared-mime-info-dev"
     2.8 +jpeg-dev gobject-introspection-dev shared-mime-info-dev pygobject-dev \
     2.9 +pygtk-dev python-dev"
    2.10  
    2.11  # Rules to configure and make the package.
    2.12  compile_rules()
    2.13 @@ -27,10 +28,10 @@
    2.14  
    2.15  genpkg_rules()
    2.16  {
    2.17 -	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/$PACKAGE
    2.18 +	mkdir -p $fs/usr/lib/$PACKAGE/plugins $fs/usr/share/$PACKAGE
    2.19  	cp -a $install/usr/bin $fs/usr
    2.20 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.21 -	cp -a $install/usr/lib/$PACKAGE/* $fs/usr/lib/$PACKAGE
    2.22 +	cp -a $install/usr/lib/$PACKAGE/plugins/*.so* $fs/usr/lib
    2.23 +	cp -a $install/usr/lib/$PACKAGE/plugins/*.eom-plugin $fs/usr/lib/$PACKAGE/plugins
    2.24  	cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
    2.25  }
    2.26