milis/talimatname/genel/d/dbus-c++/talimat

30 lines
759 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: A C++ API for D-BUS
# URL: http://sourceforge.net/projects/dbus-cplusplus/
# Paketçi: milisarge
# Gerekler: dbus glib
isim=dbus-c++
_isim=libdbus-c++
surum=0.9.0
devir=1
kaynak=(http://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%2B%2B/$surum/libdbus-c%2B%2B-$surum.tar.gz
gcc47.patch
disable-threading.patch
fix-writechar.patch)
derle() {
cd "$SRC/$_name-$surum"
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-$surum"
make DESTDIR="$PKG" install
}