2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: A C++ API for D-BUS
|
2017-07-25 01:49:05 +02:00
|
|
|
|
# URL: http://sourceforge.net/projects/dbus-cplusplus/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: dbus glib
|
2017-07-25 01:49:05 +02:00
|
|
|
|
|
|
|
|
|
name=dbus-c++
|
|
|
|
|
_name=libdbus-c++
|
|
|
|
|
version=0.9.0
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%2B%2B/$version/libdbus-c%2B%2B-$version.tar.gz
|
|
|
|
|
gcc47.patch
|
|
|
|
|
disable-threading.patch
|
|
|
|
|
fix-writechar.patch)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd "$SRC/$_name-$version"
|
|
|
|
|
patch -Np0 -i "$SRC/gcc47.patch"
|
|
|
|
|
patch -Np1 -i "$SRC/disable-threading.patch"
|
|
|
|
|
patch -Np1 -i "$SRC/fix-writechar.patch"
|
|
|
|
|
export LDFLAGS+=" -lexpat "
|
|
|
|
|
./autogen.sh --prefix=/usr \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--enable-glib \
|
|
|
|
|
--disable-ecore
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
cd "$SRC/$_name-$version"
|
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
|
}
|