# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Wireless access point hopper" HOMEPAGE="http://aphopper.sourceforge.net/" SRC_URI="mirror://sourceforge/aphopper/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" S=${WORKDIR}/${PN} src_unpack() { unpack ${A} cd ${S} cp Makefile.in Makefile.in.old sed -e "s:-O:${CFLAGS}:" Makefile.in.old > Makefile.in } src_compile() { #./configure \ # --host=${CHOST} \ # --prefix=/usr \ # --infodir=/usr/share/info \ # --mandir=/usr/share/man || die "./configure failed" econf emake || die } src_install() { dobin hopper dodoc AUTHORS COPYING ChangeLog }