wok-current view dbus-c++/receipt @ rev 25726
Fix xorg-server dep, add libffado, ffado-tools
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Nov 05 13:39:06 2024 +0000 (2 weeks ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dbus-c++"
4 VERSION="0.9.0"
5 CATEGORY="x-window"
6 SHORT_DESC="A C++ API for D-BUS."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://sourceforge.net/projects/dbus-cplusplus/"
11 TARBALL="lib$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/dbus-cplusplus/$TARBALL"
14 DEPENDS="expat dbus libdbus-c++"
15 BUILD_DEPENDS="automake libtool expat-dev dbus-dev"
17 HOST_ARCH="i486 x86_64"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 patch -Np0 -i $stuff/dbus-c++-0.9.0-gcc47.patch
23 # https://sourceforge.net/p/dbus-cplusplus/patches/18/
24 patch -Np1 -i $stuff/dbus-c++-0.9.0-disable-threading.patch
25 # https://sourceforge.net/p/dbus-cplusplus/patches/19/
26 patch -Np1 -i $stuff/dbus-c++-0.9.0-fix-writechar.patch
27 # https://sourceforge.net/p/dbus-cplusplus/patches/22/
28 patch -Np1 -i $stuff/dbus-c++-0.9.0-template-operators.patch
29 # https://sourceforge.net/p/dbus-cplusplus/patches/27/
30 patch -Np1 -i $stuff/dbus-c++-0.9.0-copy_data_from_received_message.patch
32 autoreconf -vfi
34 ./configure \
35 --disable-ecore \
36 --disable-static \
37 --disable-tests \
38 --disable-examples \
39 --enable-glib \
40 --prefix=/usr \
41 $CONFIGURE_ARGS &&
43 # Prevent overlinking
44 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
46 make &&
47 make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr
54 cp -a $install/usr/bin $fs/usr
55 }