2011-01-09 18:37:41 +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:37:41 +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:37:41 +01:00
# http://www.gnu.org/copyleft/gpl.html
################################################################################
2010-11-13 13:43:06 +01:00
PKG_NAME = "gdb"
2013-07-05 00:55:58 +02:00
PKG_VERSION = "7.6"
2010-11-13 13:43:06 +01:00
PKG_REV = "1"
PKG_ARCH = "any"
PKG_LICENSE = "GPL"
PKG_SITE = "http://www.gnu.org/software/gdb/"
2012-08-28 23:21:08 +02:00
PKG_URL = " http://ftp.gnu.org/gnu/gdb/ $PKG_NAME - $PKG_VERSION .tar.bz2 "
2012-07-17 04:12:00 +02:00
PKG_DEPENDS = "zlib ncurses expat"
2013-07-21 19:04:08 +02:00
PKG_BUILD_DEPENDS_TARGET = "toolchain zlib ncurses expat"
2010-11-13 13:43:06 +01:00
PKG_PRIORITY = "optional"
PKG_SECTION = "debug"
PKG_SHORTDESC = "gdb: The GNU Debugger"
PKG_LONGDESC = "The purpose of a debugger such as GDB is to allow you to see what is going on ``inside'' another program while it executes--or what another program was doing at the moment it crashed."
2010-11-25 18:19:41 +01:00
2013-07-21 19:04:08 +02:00
PKG_IS_ADDON = "no"
2010-11-25 18:19:41 +01:00
PKG_AUTORECONF = "no"
2013-07-21 19:04:08 +02:00
CC_FOR_BUILD = " $HOST_CC "
CFLAGS_FOR_BUILD = " $HOST_CFLAGS "
2013-08-28 14:14:36 +02:00
p r e _ c o n f i g u r e _ t a r g e t ( ) {
2013-08-30 00:29:35 +02:00
# gdb could fail on runtime if build with LTO support
2013-08-28 14:14:36 +02:00
strip_lto
}
2013-07-21 19:04:08 +02:00
PKG_CONFIGURE_OPTS_TARGET = " bash_cv_have_mbstate_t=set \
--disable-shared \
--enable-static \
--disable-nls \
--disable-sim \
--without-x \
--disable-tui \
--disable-libada \
--disable-werror"
p o s t _ m a k e i n s t a l l _ t a r g e t ( ) {
r m - r f $ I N S T A L L / u s r / s h a r e / g d b / p y t h o n
}