mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
bbe: bbe is a sed-like editor for binary files
nss: fix to compile on 64 bit host lirc: enable shared library (opera is lirc client and uses lib)
This commit is contained in:
parent
e7e4f54f16
commit
0c2d6a79a9
@ -29,11 +29,13 @@ cd $PKG_BUILD/mozilla/security/nss
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
# make host part (we need shlibsign and nsinstall)
|
||||
make nss_build_all CC=$CC LDFLAGS="$LDFLAGS"
|
||||
[ "`uname -m`" = "x86_64" ] && HOST_USE_64="USE_64=1"
|
||||
|
||||
# make host part for nsinstall binary and created library signatures
|
||||
make nss_build_all CC=$CC LDFLAGS="$LDFLAGS" $HOST_USE_64
|
||||
|
||||
# save host binary
|
||||
cp ../coreconf/nsinstall/Linux*PTH_DBG.OBJ/nsinstall nsinstall-host
|
||||
cp ../coreconf/nsinstall/Linux*_DBG.OBJ/nsinstall nsinstall-host
|
||||
NSINSTALL_HOST=`pwd`/nsinstall-host
|
||||
|
||||
# save library signatures to be used on target
|
||||
@ -44,22 +46,19 @@ find ./ -name "lib*.chk" -exec cp {} ../../dist/ \;
|
||||
sed -i "/shlibsign/d" cmd/manifest.mn
|
||||
|
||||
# clean up host part
|
||||
rm -rf `find ../../../ -type d -name Linux*PTH_DBG.OBJ`
|
||||
rm -rf `find ../../../ -type d -name Linux*_DBG.OBJ`
|
||||
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && export USE_64=1
|
||||
[ "$TARGET_ARCH" = "x86_64" ] && TARGET_USE_64="USE_64=1"
|
||||
|
||||
setup_toolchain target
|
||||
|
||||
NSPR_CONFIGURE_OPTS="--host=$TARGET_NAME --build=$HOST_NAME --target=$TARGET_NAME"
|
||||
NSPR_CONFIGURE_OPTS="$NSPR_CONFIGURE_OPTS --prefix=/usr --enable-strip --with-pthreads" \
|
||||
make nss_build_all \
|
||||
BUILD_OPT=1 \
|
||||
NSINSTALL=$NSINSTALL_HOST \
|
||||
BUILD_OPT=1 $TARGET_USE_64 \
|
||||
OS_TEST=$TARGET_ARCH \
|
||||
CPU_ARCH_TAG=$TARGET_ARCH \
|
||||
USE_SYSTEM_ZLIB=1 \
|
||||
ZLIB_LIBS=-lz \
|
||||
CC=$CC \
|
||||
CCC=$CXX \
|
||||
RANLIB=$RANLIB \
|
||||
V=1 \
|
||||
NSINSTALL=$NSINSTALL_HOST
|
||||
USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \
|
||||
CC=$CC CCC=$CXX RANLIB=$RANLIB \
|
||||
V=1
|
||||
|
@ -38,7 +38,7 @@ cd $PKG_BUILD
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-shared \
|
||||
--enable-shared \
|
||||
--enable-sandboxed \
|
||||
--without-x \
|
||||
--with-driver=userspace \
|
||||
|
@ -24,21 +24,21 @@
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/daemons/lircd $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/daemons/lircmd $INSTALL/usr/sbin # do we need this?
|
||||
|
||||
mkdir -p $INSTALL/etc/lirc
|
||||
cp $PKG_BUILD/remotes/mceusb/lircd.conf.mceusb $INSTALL/etc/lirc/lircd.conf
|
||||
cp $PKG_BUILD/remotes/devinput/lircd.conf.devinput $INSTALL/etc/lirc
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/daemons/lircmd $INSTALL/usr/sbin # do we need this?
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/ircat $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/irexec $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/irpty $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/.libs/ircat $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/.libs/irexec $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/.libs/irpty $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/.libs/lircrcd $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/irsend $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/irw $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/lircrcd $INSTALL/usr/bin # do we need this?
|
||||
cp $PKG_BUILD/tools/mode2 $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/daemons/irrecord $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/irsend $INSTALL/usr/bin # do we need this?
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/tools/.libs/liblirc_client.so* $INSTALL/usr/lib
|
||||
|
32
packages/textproc/bbe/build
Executable file
32
packages/textproc/bbe/build
Executable file
@ -0,0 +1,32 @@
|
||||
#!/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
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
|
||||
make
|
35
packages/textproc/bbe/meta
Normal file
35
packages/textproc/bbe/meta
Normal file
@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
# 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
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="bbe"
|
||||
PKG_VERSION="0.2.2"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH=""
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://bbe-.sourceforge.net/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/bbe-/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="textproc"
|
||||
PKG_SHORTDESC="sed-like editor for binary files"
|
||||
PKG_LONGDESC="bbe: sed-like editor for binary files"
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
Loading…
x
Reference in New Issue
Block a user