# SHORT DESC: KDE Bluetooth Tools
# LONG DESC: The KDE Bluetooth Framework is a set of tools built on top of Linux' Bluetooth stack BlueZ. It provides easy access to the most common Bluetooth profiles and to make data exchange with Bluetooth enabled phones and PDAs as straightforward as possible.
# COMPILE REQUIREMENT: openobex
# COMPILE REQUIREMENT: bluez-libs
# COMPILE REQUIREMENT: bluez-utils
deletelibpng=0
if [ ! -f "${libdir}"/libpng.la ]; then
deletelibpng=1
cat <<__EOF__ > "${libdir}"/libpng.la
# Libtool is a broken piece of crap and it requires this next line
# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
dlname='libpng.so.3'
library_names='$(basename $(readlink -f /usr/lib/libpng.so)) libpng.so.3 libpng.so'
old_library='libpng.a'
dependency_libs=' -ldl -lz -lm'
current=3
age=1
revision=2
installed=yes
shouldnotlink=no
dlopen=''
dlpreopen=''
libdir='${libdir}'
__EOF__
fi
prefix=`kde-config --expandvars --prefix`
./configure --prefix="${prefix}" --sysconfdir=/etc --localstatedir=/var && \
make && \
make install || exit 1
if [ "${deletelibpng}" = "1" ]; then
rm -f "${libdir}"/libpng.la
fi
exit 0
|