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.
40 lines
1.0 KiB
40 lines
1.0 KiB
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-emulation/hercules/hercules-3.08.ebuild,v 1.1 2012/12/24 07:35:36 vapier Exp $
|
|
|
|
EAPI="4"
|
|
|
|
inherit flag-o-matic
|
|
|
|
DESCRIPTION="Hercules System/370, ESA/390 and zArchitecture Mainframe Emulator"
|
|
HOMEPAGE="http://www.hercules-390.eu/"
|
|
SRC_URI="http://downloads.hercules-390.eu/${P}.tar.gz"
|
|
|
|
LICENSE="QPL-1.0"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
|
IUSE="bzip2 custom-cflags +suid"
|
|
|
|
RDEPEND="bzip2? ( app-arch/bzip2 )
|
|
sys-libs/zlib"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_configure() {
|
|
use custom-cflags || strip-flags
|
|
ac_cv_lib_bz2_BZ2_bzBuffToBuffDecompress=$(usex bzip2) \
|
|
econf \
|
|
$(use_enable bzip2 cckd-bzip2) \
|
|
$(use_enable bzip2 het-bzip2) \
|
|
$(use_enable suid setuid-hercifc) \
|
|
--enable-custom="Gentoo ${PF}.ebuild" \
|
|
--disable-optimization
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
insinto /usr/share/hercules
|
|
doins hercules.cnf
|
|
dodoc README.* RELEASE.NOTES
|
|
dohtml -r html
|
|
}
|