From f97bc15cdd1419ac94ea0e889fdb5530dd9ef4a8 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 30 May 2013 14:39:19 +0200 Subject: [PATCH] libhid: build as static library Signed-off-by: Stephan Raue --- packages/sysutils/lcdproc/meta | 2 +- packages/sysutils/libhid/build | 4 ++-- packages/sysutils/libhid/install | 26 -------------------------- 3 files changed, 3 insertions(+), 29 deletions(-) delete mode 100755 packages/sysutils/libhid/install diff --git a/packages/sysutils/lcdproc/meta b/packages/sysutils/lcdproc/meta index 322e5db0c5..4c4b719e7c 100644 --- a/packages/sysutils/lcdproc/meta +++ b/packages/sysutils/lcdproc/meta @@ -25,7 +25,7 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://lcdproc.org/" PKG_URL="$SOURCEFORGE_SRC/lcdproc/lcdproc/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="libusb libhid libftdi" +PKG_DEPENDS="libusb libftdi" PKG_BUILD_DEPENDS="toolchain libusb libhid libftdi" PKG_PRIORITY="optional" PKG_SECTION="system" diff --git a/packages/sysutils/libhid/build b/packages/sysutils/libhid/build index 6bae057c32..607ccc2702 100755 --- a/packages/sysutils/libhid/build +++ b/packages/sysutils/libhid/build @@ -26,8 +26,8 @@ cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ - --enable-shared \ - --disable-static \ + --disable-shared \ + --enable-static \ --disable-werror \ --disable-swig \ diff --git a/packages/sysutils/libhid/install b/packages/sysutils/libhid/install deleted file mode 100755 index 5c4d0d3507..0000000000 --- a/packages/sysutils/libhid/install +++ /dev/null @@ -1,26 +0,0 @@ -#!/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/src/.libs/*.so* $INSTALL/usr/lib \ No newline at end of file