# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild,v 1.15 2004/07/14 20:28:59 agriffis Exp $ DESCRIPTION="SDL Motion JPEG Library" SRC_URI="ftp://ftp.linuxgames.com/loki/open-source/smjpeg/${P}.tar.gz" HOMEPAGE="http://www.lokigames.com/development/smjpeg.php3" SLOT="0" LICENSE="LGPL-2" KEYWORDS="x86 sparc " IUSE="nas" DEPEND=">=media-libs/libsdl-1.1.7" src_compile() { use nas && LDFLAGS="-L/usr/X11R6/lib -lXt" LDFLAGS="${LDFLAGS}" \ econf || die make || die } src_install () { make DESTDIR=${D} install || die dodoc CHANGES COPYING README TODO SMJPEG.txt }