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