2012-05-06 09:28:46 +02:00
|
|
|
################################################################################
|
|
|
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
2016-01-02 17:29:56 +01:00
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2012-05-06 09:28:46 +02:00
|
|
|
#
|
2013-12-21 21:51:48 +01:00
|
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
2012-05-06 09:28:46 +02:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
2013-12-21 21:51:48 +01:00
|
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
2012-05-06 09:28:46 +02:00
|
|
|
#
|
2013-12-21 21:51:48 +01:00
|
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
2012-05-06 09:28:46 +02:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2013-12-21 21:51:48 +01:00
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2012-05-06 09:28:46 +02:00
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2013-12-21 21:51:48 +01:00
|
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
2012-05-06 09:28:46 +02:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
|
|
PKG_NAME="tinyxml"
|
2013-06-01 17:41:13 +02:00
|
|
|
PKG_VERSION="2.6.2_2"
|
2017-07-17 20:49:22 +02:00
|
|
|
PKG_SHA256="8164c9ad48b9028667768a584d62f7760cfbfb90d0dd6214ad174403058da10c"
|
2012-05-06 09:28:46 +02:00
|
|
|
PKG_ARCH="any"
|
|
|
|
|
PKG_LICENSE="OSS"
|
|
|
|
|
PKG_SITE="http://www.grinninglizard.com/tinyxml/"
|
2013-06-01 17:41:13 +02:00
|
|
|
PKG_URL="http://mirrors.xbmc.org/build-deps/sources/$PKG_NAME-$PKG_VERSION.tar.gz"
|
2014-01-30 14:30:27 +01:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
2012-05-06 09:28:46 +02:00
|
|
|
PKG_SECTION="textproc"
|
|
|
|
|
PKG_SHORTDESC="tinyxml: XML parser library"
|
|
|
|
|
PKG_LONGDESC="TinyXML is a simple, small, C++ XML parser that can be easily integrating into other programs."
|
2017-10-24 23:23:02 +02:00
|
|
|
PKG_TOOLCHAIN="autotools"
|
2013-10-11 21:08:03 +03:00
|
|
|
|
2017-06-14 22:36:01 -07:00
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared --with-pic"
|
2013-10-11 21:08:03 +03:00
|
|
|
|
2015-03-01 17:43:53 +02:00
|
|
|
pre_configure_target() {
|
|
|
|
|
export CFLAGS="$CFLAGS -fPIC"
|
|
|
|
|
}
|
|
|
|
|
|
2013-10-11 21:08:03 +03:00
|
|
|
post_makeinstall_target() {
|
|
|
|
|
rm -rf $INSTALL/usr
|
|
|
|
|
}
|