mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
pcre: convert to new package format
This commit is contained in:
parent
72002bbdb8
commit
777a233ccb
@ -27,7 +27,7 @@ PKG_SITE="http://live.vdr-developer.org/en/index.php"
|
|||||||
PKG_URL="http://live.vdr-developer.org/downloads/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
PKG_URL="http://live.vdr-developer.org/downloads/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||||
PKG_SOURCE_DIR="live-${PKG_VERSION}"
|
PKG_SOURCE_DIR="live-${PKG_VERSION}"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS_TARGET="toolchain vdr tntnet pcre-host pcre"
|
PKG_BUILD_DEPENDS_TARGET="toolchain vdr tntnet pcre:host pcre"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="multimedia"
|
PKG_SECTION="multimedia"
|
||||||
PKG_SHORTDESC="vdr-live: the LIVE Interactive VDR Environment/"
|
PKG_SHORTDESC="vdr-live: the LIVE Interactive VDR Environment/"
|
||||||
|
@ -1,42 +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
|
|
||||||
|
|
||||||
$SCRIPTS/unpack pcre
|
|
||||||
|
|
||||||
setup_toolchain host
|
|
||||||
|
|
||||||
cd $BUILD/pcre-*
|
|
||||||
mkdir -p m4 && do_autoreconf
|
|
||||||
|
|
||||||
mkdir -p .build-host && cd .build-host
|
|
||||||
|
|
||||||
../configure --host=$HOST_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=$ROOT/$TOOLCHAIN \
|
|
||||||
--enable-utf8 \
|
|
||||||
--enable-unicode-properties \
|
|
||||||
--with-gnu-ld
|
|
||||||
|
|
||||||
make
|
|
||||||
make install
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# 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="pcre-host"
|
|
||||||
PKG_VERSION=""
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="OSS"
|
|
||||||
PKG_SITE="http://www.pcre.org/"
|
|
||||||
PKG_URL=""
|
|
||||||
PKG_DEPENDS=""
|
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="devel"
|
|
||||||
PKG_SHORTDESC="pcre: Perl Compatible Regulat Expressions"
|
|
||||||
PKG_LONGDESC="The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular expression API. The PCRE library is free, even for building commercial software."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
|
@ -1,47 +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
|
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -fPIC"
|
|
||||||
CXXFLAGS="$CXXFLAGS -fPIC"
|
|
||||||
LDFLAGS="$LDFLAGS -fPIC"
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
mkdir -p m4 && do_autoreconf
|
|
||||||
|
|
||||||
mkdir -p .build-target && cd .build-target
|
|
||||||
../configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-static \
|
|
||||||
--enable-utf8 \
|
|
||||||
--enable-unicode-properties \
|
|
||||||
--with-gnu-ld
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -26,7 +26,8 @@ PKG_LICENSE="OSS"
|
|||||||
PKG_SITE="http://www.pcre.org/"
|
PKG_SITE="http://www.pcre.org/"
|
||||||
PKG_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_HOST="toolchain"
|
||||||
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
PKG_SHORTDESC="pcre: Perl Compatible Regulat Expressions"
|
PKG_SHORTDESC="pcre: Perl Compatible Regulat Expressions"
|
||||||
@ -34,3 +35,24 @@ PKG_LONGDESC="The PCRE library is a set of functions that implement regular expr
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_HOST="--prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--enable-utf8 \
|
||||||
|
--enable-unicode-properties \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-utf8 \
|
||||||
|
--enable-unicode-properties \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
|
CXXFLAGS="$CXXFLAGS -fPIC"
|
||||||
|
LDFLAGS="$LDFLAGS -fPIC"
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_target() {
|
||||||
|
:
|
||||||
|
}
|
@ -26,7 +26,7 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://www.swig.org"
|
PKG_SITE="http://www.swig.org"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/swig/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="$SOURCEFORGE_SRC/swig/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="ccache pcre-host"
|
PKG_BUILD_DEPENDS="ccache pcre:host"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="toolchain/devel"
|
PKG_SECTION="toolchain/devel"
|
||||||
PKG_SHORTDESC="SWIG: a software development tool that connects programs written in C and C++ with a variety of high-level programming languages."
|
PKG_SHORTDESC="SWIG: a software development tool that connects programs written in C and C++ with a variety of high-level programming languages."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user