27 lines
690 B
Bash
27 lines
690 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=0
|
|
|
|
DESCRIPTION="Commandline-driven interface to PICSTART+ PIC programmer"
|
|
HOMEPAGE="http://gatling.ikk.sztaki.hu/~kissg/pd/pista/pista.html"
|
|
SRC_URI="ftp://gatling.ikk.sztaki.hu/pub/pic/pista/${P}.tar.gz
|
|
http://pista.choup.net/pub/pic/pista/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-lang/perl
|
|
dev-perl/TermReadKey"
|
|
|
|
src_compile() {
|
|
perl Makefile.PL PREFIX=/usr || die "Running Makefile.PL failed"
|
|
emake || die "make failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake install DESTDIR=${D} || die
|
|
dodoc README Changes Copyright doc/pista.html
|
|
}
|