libftdi: build as static library

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-05-30 14:46:51 +02:00
parent f97bc15cdd
commit 83c56c937d
4 changed files with 5 additions and 30 deletions

View File

@ -29,9 +29,12 @@ LIBS="-lusb" \
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--disable-shared \
--enable-static \
--disable-libftdipp \
--disable-python-binding \
--without-examples \
--without-docs
make
$MAKEINSTALL

View File

@ -1,28 +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
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/src/.libs/libftdi.so* $INSTALL/usr/lib

View File

@ -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 libftdi"
PKG_DEPENDS="libusb"
PKG_BUILD_DEPENDS="toolchain libusb libhid libftdi"
PKG_PRIORITY="optional"
PKG_SECTION="system"

View File

@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.flashrom.org"
PKG_URL="http://download.flashrom.org/releases/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="zlib pciutils libftdi"
PKG_DEPENDS="zlib pciutils"
PKG_BUILD_DEPENDS="toolchain zlib pciutils libftdi"
PKG_PRIORITY="optional"
PKG_SECTION="tools"