mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
attr: build as static library
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7df5825175
commit
17bbdb7124
@ -78,7 +78,6 @@ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -P $BUILD/vdr-plugin-xmltv2vdr*/dist/epgdata2xmltv/epgdata2xmltv $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
cp -P $BUILD/attr-[0-9]*/libattr/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
cp -P $BUILD/libcap-[0-9]*/libcap/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
cp -P $BUILD/cxxtools-[0-9]*/.build-target/src/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
cp -P $BUILD/tntnet-[0-9]*/.build-target/framework/common/.libs/*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib
|
||||
|
@ -41,13 +41,13 @@ INSTALL_GROUP=root \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
|
||||
make
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib/
|
||||
cp -P libattr/.libs/*.so* $SYSROOT_PREFIX/usr/lib/
|
||||
cp libattr/.libs/libattr.a $SYSROOT_PREFIX/usr/lib/
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include/attr
|
||||
cp -P include/*.h $SYSROOT_PREFIX/usr/include/attr
|
||||
cp include/*.h $SYSROOT_PREFIX/usr/include/attr
|
||||
|
@ -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)
|
||||
# Copyright (C) 2010-2011 Roman Weber (roman@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/libattr/.libs/*.so* $INSTALL/usr/lib
|
||||
|
@ -29,7 +29,7 @@ PKG_LICENSE="GPL"
|
||||
PKG_SITE=""
|
||||
#PKG_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_URL="http://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="attr"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain attr"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
|
@ -25,7 +25,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.samba.org"
|
||||
PKG_URL="http://samba.org/samba/ftp/stable/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS="$ICONV zlib attr connman"
|
||||
PKG_DEPENDS="$ICONV zlib connman"
|
||||
PKG_BUILD_DEPENDS="toolchain zlib attr $ICONV"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="network"
|
||||
|
@ -25,7 +25,7 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.freedesktop.org/wiki/Software/systemd"
|
||||
PKG_URL="http://www.freedesktop.org/software/systemd/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS="attr libcap dbus kmod util-linux glib libgcrypt"
|
||||
PKG_DEPENDS="libcap dbus kmod util-linux glib libgcrypt"
|
||||
PKG_BUILD_DEPENDS="toolchain attr libcap dbus kmod util-linux glib libgcrypt"
|
||||
PKG_PRIORITY="required"
|
||||
PKG_SECTION="system"
|
||||
|
Loading…
x
Reference in New Issue
Block a user