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.
gentoo-overlay/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild

36 lines
857 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/wxhexeditor/wxhexeditor-0.20.ebuild,v 1.1 2012/07/02 03:47:52 dirtyepic Exp $
EAPI="4"
WX_GTK_VER="2.8"
inherit eutils toolchain-funcs wxwidgets
MY_PN="wxHexEditor"
DESCRIPTION="A cross-platform hex editor designed specially for large files."
HOMEPAGE="http://wxhexeditor.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-v${PV}-src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-crypt/mhash
dev-libs/udis86
x11-libs/wxGTK:2.8[X]"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}"
pkg_pretend() {
tc-has-openmp \
|| die "${PN} uses OpenMP libraries. Please use an OpenMP-capable compiler."
}
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
}