wok-4.x diff libbonobo/receipt @ rev 7946

Up mpd (0.16.1), may need to rollback to 0.15.15 and add 0.16.x to wok-undigest
author Paul Issott <paul@slitaz.org>
date Sat Jan 15 17:12:06 2011 +0000 (2011-01-15)
parents
children 02bbaa9d12ba
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libbonobo/receipt	Sat Jan 15 17:12:06 2011 +0000
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libbonobo"
     1.7 +VERSION="2.32.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Librairies for GNOME"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="glib ORBit2 libxml2 libglade"
    1.12 +BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.gnome.org"
    1.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc/gnome \
    1.24 +		--libexecdir=/usr/lib/bonobo \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make && make DESTDIR=$PWD/_pkg 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
    1.33 +	cp -a $_pkg/etc $fs/
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/sbin $fs/usr
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/lib/orbit-2.0 $fs/usr/lib
    1.38 +	cp -a $_pkg/usr/lib/bonobo $fs/usr/lib/bonobo
    1.39 +	
    1.40 +	# Clean unwated files
    1.41 +	cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
    1.42 +	
    1.43 +	# Stripping all
    1.44 +	find . -name "*.so" -exec strip -s {} \;
    1.45 +}
    1.46 +