wok-current diff glade3/receipt @ rev 19199

gucharmap: fix packaging
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 09 00:34:10 2016 +0300 (2016-06-09)
parents 9eb51a729bd4
children a78610b2eb47
line diff
     1.1 --- a/glade3/receipt	Thu Jan 03 11:04:59 2013 +0100
     1.2 +++ b/glade3/receipt	Thu Jun 09 00:34:10 2016 +0300
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Vector drawing application."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="gtk+ libglade xorg-libXdamage"
     1.8 -BUILD_DEPENDS="intltool libxml2-dev expat-dev python gtk+-dev"
     1.9 +LICENSE="LGPL"
    1.10  SUGGESTED="python"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://glade.gnome.org/"
    1.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14  
    1.15 +DEPENDS="gtk+ libglade xorg-libXdamage"
    1.16 +BUILD_DEPENDS="intltool libxml2-dev expat-dev python gtk+-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -24,19 +26,19 @@
    1.22  	# Doc doesn't built
    1.23  	sed -i 's/= help/=/' Makefile
    1.24  	make &&
    1.25 -	make DESTDIR=$PWD/_pkg install
    1.26 +	make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.35 -	cp -a $_pkg/usr/lib/glade3 $fs/usr/lib
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +	cp -a $install/usr/lib/glade3 $fs/usr/lib
    1.39  	rm $fs/usr/lib/glade3/modules/*.*a
    1.40 -	cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
    1.41 +	cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
    1.42  		$fs/usr/share/pixmaps
    1.43 -	cp -a $_pkg/usr/share/glade3 $fs/usr/share
    1.44 +	cp -a $install/usr/share/glade3 $fs/usr/share
    1.45  }
    1.46