wok-stable diff eggdbus/receipt @ rev 5681

add ypbind-mt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 03 10:50:27 2010 +0200 (2010-06-03)
parents
children 6cca31a6b8f1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/eggdbus/receipt	Thu Jun 03 10:50:27 2010 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="eggdbus"
     1.7 +VERSION="0.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A new (as compared to dbus-glib) D-Bus binding for GObject."
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +DEPENDS="glibc-base glib libgio dbus dbus-glib"
    1.12 +BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev dbus-dev dbus-glib-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://mail.gnome.org/archives/gtk-devel-list/2008-December/msg00059.html"
    1.15 +WGET_URL="http://cgit.freedesktop.org/~david/$PACKAGE/snapshot/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	
    1.22 +	# autogen.sh forces some unnecessary options; remove them
    1.23 +	sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1
    1.24 +	sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1
    1.25 +	sed -i 's/ docs/ /' $src/Makefile.am || exit 1
    1.26 +	sed -i 's|docs/Makefile||' $src/configure.ac || exit 1
    1.27 +	sed -i 's|docs/version.xml||' $src/configure.ac || exit 1
    1.28 +	sed -i 's|docs/man/Makefile||' $src/configure.ac || exit 1
    1.29 +	sed -i 's|docs/tests/Makefile||' $src/configure.ac || exit 1
    1.30 +	sed -i 's|docs/eggdbus/Makefile||' $src/configure.ac || exit 1
    1.31 +	sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1
    1.32 +	rm -r -f $src/docs
    1.33 +		
    1.34 +    ./autogen.sh --prefix=/usr \
    1.35 +		--enable-gtk-doc=no \
    1.36 +		$CONFIGURE_ARGS  &&
    1.37 +    make &&
    1.38 +    make DESTDIR=$src/_pkg install
    1.39 +}
    1.40 +
    1.41 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 +genpkg_rules()
    1.43 +{
    1.44 +	mkdir -p $fs/usr/lib
    1.45 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.46 +	cp -a $_pkg/usr/bin $fs/usr
    1.47 +}