sg3_utils: build as static library

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-05-28 22:07:40 +02:00
parent a337c45339
commit 5718538101
4 changed files with 5 additions and 31 deletions

View File

@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://gitweb.freedesktop.org/?p=PolicyKit.git;a=summary"
PKG_URL="http://hal.freedesktop.org/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="zlib sg3_utils glib systemd expat"
PKG_DEPENDS="zlib glib systemd expat"
PKG_BUILD_DEPENDS="toolchain zlib sg3_utils glib systemd expat"
PKG_PRIORITY="optional"
PKG_SECTION="security"

View File

@ -29,9 +29,9 @@ cd $PKG_BUILD
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
--disable-static \
--enable-shared \
--enable-static \
--disable-shared \
make
$MAKEINSTALL
$MAKEINSTALL

View File

@ -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/lib/.libs/*.so* $INSTALL/usr/lib

View File

@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.freedesktop.org/wiki/Software/udisks"
PKG_URL="http://hal.freedesktop.org/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="sg3_utils systemd glib dbus dbus-glib parted polkit libatasmart"
PKG_DEPENDS="systemd glib dbus dbus-glib parted polkit libatasmart"
PKG_BUILD_DEPENDS="toolchain sg3_utils systemd glib dbus dbus-glib parted polkit libatasmart"
PKG_PRIORITY="optional"
PKG_SECTION="system"