SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dbus-c++"

# SliTaz package receipt.

PACKAGE="dbus-c++"
VERSION="0.9.0"
CATEGORY="x-window"
SHORT_DESC="A C++ API for D-BUS."
MAINTAINER="maintainer@slitaz.org"
LICENSE="LGPL2"
WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/"

TARBALL="lib$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/dbus-cplusplus/$TARBALL"

DEPENDS="expat dbus libdbus-c++"
BUILD_DEPENDS="automake libtool expat-dev dbus-dev"

HOST_ARCH="i486 x86_64"

# Rules to configure and make the package.
compile_rules()
{
    patch -Np0 -i $stuff/dbus-c++-0.9.0-gcc47.patch
    # https://sourceforge.net/p/dbus-cplusplus/patches/18/
    patch -Np1 -i $stuff/dbus-c++-0.9.0-disable-threading.patch
    # https://sourceforge.net/p/dbus-cplusplus/patches/19/
    patch -Np1 -i $stuff/dbus-c++-0.9.0-fix-writechar.patch
    # https://sourceforge.net/p/dbus-cplusplus/patches/22/
    patch -Np1 -i $stuff/dbus-c++-0.9.0-template-operators.patch
    # https://sourceforge.net/p/dbus-cplusplus/patches/27/
    patch -Np1 -i $stuff/dbus-c++-0.9.0-copy_data_from_received_message.patch

    autoreconf -vfi

    ./configure                \
        --disable-ecore            \
        --disable-static        \
        --disable-tests            \
        --disable-examples        \
        --enable-glib            \
        --prefix=/usr            \
        $CONFIGURE_ARGS &&

    # Prevent overlinking
    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin    $fs/usr
}
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)