wok-next rev 13850

distcc: build gnome ui
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 09 16:45:37 2013 +0100 (2013-01-09)
parents 28f12072e2a8
children d010c07c31c6
files distcc/receipt distccmon-gui/receipt libbonoboui-dev/receipt libgnomeui-dev/receipt
line diff
     1.1 --- a/distcc/receipt	Wed Jan 09 10:05:06 2013 +0100
     1.2 +++ b/distcc/receipt	Wed Jan 09 16:45:37 2013 +0100
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Distributed compilation for C/C++"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="popt lzo"
     1.8 -BUILD_DEPENDS="popt-dev lzo-dev python-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://distcc.org"
    1.11  WGET_URL="http://distcc.googlecode.com/files/$TARBALL"
    1.12  
    1.13 +DEPENDS="popt lzo"
    1.14 +BUILD_DEPENDS="popt-dev lzo-dev python-dev gtk+-dev libgnome-dev \
    1.15 +libgnomeui-dev libbonoboui-dev libgnomecanvas-dev libgnome-keyring-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -20,8 +22,10 @@
    1.21  		--prefix=/usr \
    1.22  		--sysconfdir=/etc \
    1.23  		--mandir=/usr/share/man \
    1.24 +		--with-gnome \
    1.25 +		--with-gtk \
    1.26  		$CONFIGURE_ARGS &&
    1.27 -	make && make DESTDIR=$PWD/_pkg install
    1.28 +	make && make DESTDIR=$DESTDIR install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 @@ -32,8 +36,8 @@
    1.33  		$fs/var/run/distccd \
    1.34  		$fs/etc/init.d
    1.35  		
    1.36 -	cp -a $_pkg/usr/bin $fs/usr
    1.37 -	cp -a $_pkg/etc/distcc $fs/etc
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/etc/distcc $fs/etc
    1.40  	
    1.41  	echo '127.0.0.1' >> $fs/etc/distcc/clients.allow
    1.42  	
     2.1 --- a/distccmon-gui/receipt	Wed Jan 09 10:05:06 2013 +0100
     2.2 +++ b/distccmon-gui/receipt	Wed Jan 09 16:45:37 2013 +0100
     2.3 @@ -4,20 +4,21 @@
     2.4  VERSION="3.1"
     2.5  CATEGORY="development"
     2.6  SHORT_DESC="Distcc monitor GUI."
     2.7 -DEPENDS="gtk+ distcc"
     2.8  WANTED="distcc"
     2.9  MAINTAINER="pankso@slitaz.org"
    2.10  WEB_SITE="http://code.google.com/p/distcc/"
    2.11  
    2.12 +DEPENDS="gtk+ distcc"
    2.13 +
    2.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.15  genpkg_rules()
    2.16  {
    2.17  	mkdir -p $fs/usr/bin \
    2.18  		$fs/usr/share/applications \
    2.19  		$fs/usr/share/pixmaps
    2.20 -	cp -a $_pkg/usr/bin/distccmon-gnome \
    2.21 +	cp -a $install/usr/bin/distccmon-gnome \
    2.22  		$fs/usr/bin/distccmon-gui
    2.23 -	cp -a $_pkg/usr/share/distcc/distccmon-gnome-icon.png \
    2.24 +	cp -a $install/usr/share/distcc/distccmon-gnome-icon.png \
    2.25  		$fs/usr/share/pixmaps/distccmon-gui.png
    2.26  	cp stuff/*.desktop $fs/usr/share/applications
    2.27  }
     3.1 --- a/libbonoboui-dev/receipt	Wed Jan 09 10:05:06 2013 +0100
     3.2 +++ b/libbonoboui-dev/receipt	Wed Jan 09 16:45:37 2013 +0100
     3.3 @@ -8,14 +8,16 @@
     3.4  WEB_SITE="http://www.gnome.org/"
     3.5  WANTED="libbonoboui"
     3.6  
     3.7 +DEPENDS="libbonoboui libgnomecanvas-dev"
     3.8 +
     3.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.10  genpkg_rules()
    3.11  {
    3.12  	mkdir -p $fs/usr/lib
    3.13 -	cp -a $_pkg/usr/include $fs/usr
    3.14 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    3.15 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    3.16 -	cp -a $_pkg/usr/lib/libglade $fs/usr/lib
    3.17 +	cp -a $install/usr/include $fs/usr
    3.18 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.19 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.20 +	cp -a $install/usr/lib/libglade $fs/usr/lib
    3.21  	# remove archive lib
    3.22  	find $fs/usr/lib -name *.so* -exec rm -f {} \;
    3.23  }
     4.1 --- a/libgnomeui-dev/receipt	Wed Jan 09 10:05:06 2013 +0100
     4.2 +++ b/libgnomeui-dev/receipt	Wed Jan 09 16:45:37 2013 +0100
     4.3 @@ -5,7 +5,7 @@
     4.4  CATEGORY="development"
     4.5  SHORT_DESC="Gnome UI libs devel files"
     4.6  MAINTAINER="erjo@slitaz.org"
     4.7 -DEPENDS="libgnomeui"
     4.8 +DEPENDS="libgnomeui libbonoboui-dev libgnome-keyring-dev"
     4.9  WEB_SITE="http://www.gnome.org"
    4.10  WANTED="libgnomeui"
    4.11  
    4.12 @@ -13,9 +13,9 @@
    4.13  genpkg_rules()
    4.14  {
    4.15  	mkdir -p $fs/usr/lib 
    4.16 -	cp -a $_pkg/usr/include $fs/usr
    4.17 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    4.18 -	cp -a $_pkg/usr/lib/libglade $fs/usr/lib
    4.19 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    4.20 +	cp -a $install/usr/include $fs/usr
    4.21 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    4.22 +	cp -a $install/usr/lib/libglade $fs/usr/lib
    4.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    4.24  	find $fs/usr/lib -name *.so* -exec rm -f {} \;
    4.25  }