wok annotate eggdbus/receipt @ rev 5180

Up: libssl, libcrypto*, openssl* 0.98n. Bug & Security update.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Mar 27 18:13:24 2010 +0100 (2010-03-27)
parents
children 6cca31a6b8f1
rev   line source
rcx@3335 1 # SliTaz package receipt.
rcx@3335 2
rcx@3335 3 PACKAGE="eggdbus"
rcx@3335 4 VERSION="0.4"
rcx@3335 5 CATEGORY="development"
rcx@3335 6 SHORT_DESC="A new (as compared to dbus-glib) D-Bus binding for GObject."
rcx@3335 7 MAINTAINER="rcx@zoominternet.net"
rcx@3335 8 DEPENDS="glibc-base glib libgio dbus dbus-glib"
rcx@3335 9 BUILD_DEPENDS="slitaz-toolchain m4 autoconf automake libtool glib-dev dbus-dev dbus-glib-dev"
rcx@3335 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
rcx@3335 11 WEB_SITE="http://mail.gnome.org/archives/gtk-devel-list/2008-December/msg00059.html"
rcx@3335 12 WGET_URL="http://cgit.freedesktop.org/~david/$PACKAGE/snapshot/$TARBALL"
rcx@3335 13
rcx@3335 14 # Rules to configure and make the package.
rcx@3335 15 compile_rules()
rcx@3335 16 {
rcx@3335 17 cd $src
rcx@3335 18
rcx@3335 19 # autogen.sh forces some unnecessary options; remove them
rcx@3335 20 sed -i 's/gtkdocize /echo /' $src/autogen.sh || exit 1
rcx@3335 21 sed -i 's/--enable-gtk-doc//' $src/autogen.sh || exit 1
rcx@3335 22 sed -i 's/ docs/ /' $src/Makefile.am || exit 1
rcx@3335 23 sed -i 's|docs/Makefile||' $src/configure.ac || exit 1
rcx@3335 24 sed -i 's|docs/version.xml||' $src/configure.ac || exit 1
rcx@3335 25 sed -i 's|docs/man/Makefile||' $src/configure.ac || exit 1
rcx@3335 26 sed -i 's|docs/tests/Makefile||' $src/configure.ac || exit 1
rcx@3335 27 sed -i 's|docs/eggdbus/Makefile||' $src/configure.ac || exit 1
rcx@3335 28 sed -i 's|GTK_DOC_CHECK(\[1.3\])||' $src/configure.ac || exit 1
rcx@3335 29 rm -r -f $src/docs
rcx@3335 30
rcx@3335 31 ./autogen.sh --prefix=/usr \
rcx@3335 32 --enable-gtk-doc=no \
rcx@3335 33 $CONFIGURE_ARGS &&
rcx@3335 34 make &&
rcx@3335 35 make DESTDIR=$src/_pkg install
rcx@3335 36 }
rcx@3335 37
rcx@3335 38 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3335 39 genpkg_rules()
rcx@3335 40 {
rcx@3335 41 mkdir -p $fs/usr/lib
rcx@3335 42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3335 43 cp -a $_pkg/usr/bin $fs/usr
rcx@3335 44 }