34 lines
595 B
Bash
34 lines
595 B
Bash
EAPI=7
|
|
|
|
DESCRIPTION="Medical Image Conversion Utility"
|
|
HOMEPAGE="http://${PN}.sourceforge.net"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2 LGPL-2"
|
|
SLOT="0"
|
|
#KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
|
|
KEYWORDS="x86 ~amd64"
|
|
IUSE="png gtk"
|
|
RESTRICT="nomirror"
|
|
|
|
DEPEND="gtk? ( x11-libs/gtk+:3 )
|
|
png? ( >=media-libs/libpng-1.6.0 )
|
|
virtual/pkgconfig"
|
|
|
|
src_configure() {
|
|
|
|
econf $(use_enable gtk gui) $(use_enable png)
|
|
}
|
|
|
|
src_compile() {
|
|
|
|
emake
|
|
}
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install
|
|
|
|
dodoc AUTHORS COPYING* INSTALL NEWS README REMARKS
|
|
}
|