2009-03-18 13:02:53 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2011-01-09 18:44:37 +01:00
|
|
|
################################################################################
|
|
|
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
2012-02-29 13:11:22 +01:00
|
|
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
2011-01-09 18:44:37 +01:00
|
|
|
#
|
|
|
|
|
# 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
|
2012-02-29 13:11:22 +01:00
|
|
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
2011-01-09 18:44:37 +01:00
|
|
|
# http://www.gnu.org/copyleft/gpl.html
|
|
|
|
|
################################################################################
|
|
|
|
|
|
2010-07-21 18:55:47 +02:00
|
|
|
. config/options $1
|
2009-03-18 13:02:53 +01:00
|
|
|
|
2009-12-19 17:43:37 +01:00
|
|
|
export ac_cv_have_abstract_sockets=yes
|
2009-03-18 13:02:53 +01:00
|
|
|
|
2009-05-16 23:35:27 +02:00
|
|
|
cd $PKG_BUILD
|
2010-11-25 18:16:03 +01:00
|
|
|
mkdir -p .build-target && cd .build-target
|
2009-11-06 15:13:39 +01:00
|
|
|
../configure --host=$TARGET_NAME \
|
|
|
|
|
--build=$HOST_NAME \
|
|
|
|
|
--prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
2009-11-22 14:39:30 +01:00
|
|
|
--libexecdir=/usr/lib/dbus \
|
2009-11-06 15:13:39 +01:00
|
|
|
--localstatedir=/var \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--enable-shared \
|
2012-06-17 13:55:12 +02:00
|
|
|
--enable-verbose-mode \
|
|
|
|
|
--enable-asserts \
|
|
|
|
|
--enable-checks \
|
2009-11-06 15:13:39 +01:00
|
|
|
--disable-tests \
|
|
|
|
|
--disable-ansi \
|
|
|
|
|
--disable-xml-docs \
|
|
|
|
|
--disable-doxygen-docs \
|
|
|
|
|
--enable-abstract-sockets \
|
2011-11-12 15:41:24 +01:00
|
|
|
--disable-x11-autolaunch \
|
2009-11-06 15:13:39 +01:00
|
|
|
--disable-selinux \
|
|
|
|
|
--disable-libaudit \
|
2010-06-16 09:39:09 +02:00
|
|
|
--enable-dnotify \
|
2009-11-06 15:13:39 +01:00
|
|
|
--enable-inotify \
|
|
|
|
|
--with-xml=expat \
|
2011-11-12 15:41:24 +01:00
|
|
|
--without-x \
|
2009-11-06 15:13:39 +01:00
|
|
|
--with-dbus-user=dbus \
|
2009-03-18 13:02:53 +01:00
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
2009-11-06 15:13:39 +01:00
|
|
|
$MAKEINSTALL
|