33 lines
576 B
Bash
33 lines
576 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"
|
|
|
|
DEPEND="gtk? ( x11-libs/gtk+:3 )
|
|
png? ( >=media-libs/libpng-1.6.0 )
|
|
dev-util/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
|
|
}
|