You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="6"
|
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
DESCRIPTION="ia64 instruction set simulator"
|
|
|
|
HOMEPAGE="http://ski.sourceforge.net/ http://www.gelato.unsw.edu.au/IA64wiki/SkiSimulator"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="+gtk motif"
|
|
|
|
|
|
|
|
RDEPEND="dev-libs/libltdl:0=
|
|
|
|
sys-libs/ncurses:0=
|
|
|
|
virtual/libelf
|
|
|
|
gtk? (
|
|
|
|
gnome-base/libglade:2.0
|
|
|
|
gnome-base/libgnomeui
|
|
|
|
x11-libs/gtk+:2
|
|
|
|
)
|
|
|
|
motif? ( x11-libs/motif:0= )"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
sys-devel/bison
|
|
|
|
sys-devel/flex
|
|
|
|
dev-util/gperf"
|
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/${P}-syscall-linux-includes.patch
|
|
|
|
"${FILESDIR}"/${P}-remove-hayes.patch
|
|
|
|
"${FILESDIR}"/${P}-no-local-ltdl.patch
|
|
|
|
"${FILESDIR}"/${P}-AC_C_BIGENDIAN.patch
|
|
|
|
"${FILESDIR}"/${P}-configure-withval.patch
|
|
|
|
"${FILESDIR}"/${P}-binutils.patch
|
|
|
|
"${FILESDIR}"/${P}-uselib.patch #592226
|
|
|
|
"${FILESDIR}"/${P}-ncurses-config.patch
|
|
|
|
"${FILESDIR}"/${P}-prototypes.patch
|
|
|
|
)
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
|
|
|
|
rm -rf libltdl src/ltdl.[ch] macros/ltdl.m4
|
|
|
|
|
|
|
|
AT_M4DIR="macros" eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf \
|
|
|
|
--without-included-ltdl \
|
|
|
|
$(use_with gtk) \
|
|
|
|
$(use_with motif x11)
|
|
|
|
}
|