diff --git a/packages/databases/mysql/meta b/packages/databases/mysql/meta index c0edb97f47..2d7366789a 100644 --- a/packages/databases/mysql/meta +++ b/packages/databases/mysql/meta @@ -26,7 +26,7 @@ PKG_LICENSE="LGPL" PKG_SITE="http://www.mysql.com" PKG_URL="http://ftp.gwdg.de/pub/misc/$PKG_NAME/Downloads/MySQL-5.1/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="zlib ncurses" -PKG_BUILD_DEPENDS="toolchain zlib readline ncurses mysql-hosttools" +PKG_BUILD_DEPENDS="toolchain zlib ncurses mysql-hosttools" PKG_PRIORITY="optional" PKG_SECTION="database" PKG_SHORTDESC="mysql: A database server" diff --git a/packages/devel/readline/build b/packages/devel/readline/build index 8cb3097588..784a6c775d 100755 --- a/packages/devel/readline/build +++ b/packages/devel/readline/build @@ -30,8 +30,8 @@ mkdir -p .build-target && cd .build-target --exec-prefix=/usr \ --sysconfdir=/etc \ --datadir=/usr/share \ - --disable-shared \ - --enable-static \ + --enable-shared \ + --disable-static \ --with-curses \ --without-purify diff --git a/packages/devel/readline/install b/packages/devel/readline/install new file mode 100755 index 0000000000..c9aaf70f03 --- /dev/null +++ b/packages/devel/readline/install @@ -0,0 +1,32 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/.build-target/shlib/libreadline.so.6.2 $INSTALL/usr/lib + ln -sf /usr/lib/libreadline.so.6.2 $INSTALL/usr/lib/libreadline.so.6 + ln -sf /usr/lib/libreadline.so.6 $INSTALL/usr/lib/libreadline.so + + cp -P $PKG_BUILD/.build-target/shlib/libhistory.so.6.2 $INSTALL/usr/lib + ln -sf /usr/lib/libhistory.so.6.2 $INSTALL/usr/lib/libhistory.so.6 + ln -sf /usr/lib/libhistory.so.6 $INSTALL/usr/lib/libhistory.so diff --git a/packages/network/bluez/build b/packages/network/bluez/build index 31f5662f62..ff3a7afbeb 100755 --- a/packages/network/bluez/build +++ b/packages/network/bluez/build @@ -34,8 +34,6 @@ else DEVTOOLS_CONFIG="--disable-monitor --disable-test --enable-tools" fi -LDFLAGS="$LDFLAGS -ltinfo" - cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ diff --git a/packages/network/bluez/meta b/packages/network/bluez/meta index b191945be8..be3819d0f3 100644 --- a/packages/network/bluez/meta +++ b/packages/network/bluez/meta @@ -26,7 +26,7 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.bluez.org/" PKG_URL="http://www.kernel.org/pub/linux/bluetooth/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_DEPENDS="libusb-compat dbus glib systemd" -PKG_BUILD_DEPENDS="toolchain libusb-compat dbus glib systemd ncurses readline" +PKG_BUILD_DEPENDS="toolchain libusb-compat dbus glib systemd readline" PKG_PRIORITY="optional" PKG_SECTION="network" PKG_SHORTDESC="bluez: Bluetooth Tools and System Daemons for Linux." diff --git a/packages/network/connman/build b/packages/network/connman/build index 71d58cf8be..a54a88d0cc 100755 --- a/packages/network/connman/build +++ b/packages/network/connman/build @@ -38,8 +38,6 @@ fi export WPASUPPLICANT="/usr/bin/wpa_supplicant" -LDFLAGS="$LDFLAGS -ltinfo" - cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ diff --git a/packages/network/connman/meta b/packages/network/connman/meta index a7f7c22d0a..9bdabcd53d 100644 --- a/packages/network/connman/meta +++ b/packages/network/connman/meta @@ -26,8 +26,8 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.connman.net" #PKG_URL="http://www.kernel.org/pub/linux/network/connman/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="glib dbus systemd iptables wpa_supplicant ntp Python pygobject dbus-python" -PKG_BUILD_DEPENDS="toolchain glib ncurses readline dbus systemd iptables" +PKG_DEPENDS="glib readline dbus systemd iptables wpa_supplicant ntp Python pygobject dbus-python" +PKG_BUILD_DEPENDS="toolchain glib readline dbus systemd iptables" PKG_PRIORITY="optional" PKG_SECTION="network" PKG_SHORTDESC="connman: Network manager daemon"