# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/app-arch/unlzx/unlzx-1.1.ebuild,v 1.5 2002/07/26 03:20:06 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="Unarchiver for Amiga LZX archives" SRC_URI="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme" HOMEPAGE="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme" SLOT="0" LICENSE="as-is" KEYWORDS="x86" DEPEND="virtual/glibc" src_unpack() { mkdir ${S} gzip -dc ${DISTDIR}/${PN}.c.gz > ${S}/unlzx.c cp ${DISTDIR}/${PN}.c.gz.readme ${S}/${PN}.c.gz.readme } src_compile() { gcc ${CFLAGS} -o unlzx unlzx.c } src_install () { dobin unlzx dodoc unlzx.c.gz.readme }