# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header$ MY_PN=jasper ### uncomment the right variables depending on if we have a patchlevel or not #MY_P=${MY_PN}-${PV%.*}-${PV#*.*.*.} #MY_P2=${MY_PN}-${PV%.*} MY_P=${MY_PN}-${PV} MY_P2=${MY_PN}-${PV} S=${WORKDIR}/${MY_P2} DESCRIPTION="A collection of tools and libraries for many image formats notably jpeg2000" SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/${MY_P}.zip" HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/" SLOT="0" LICENSE="as-is" KEYWORDS="~x86" src_compile() { econf \ --prefix=/usr \ || die emake || die "compile problem" } src_install() { make DESTDIR=${D} install || die }