-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
DESCRIPTION="Commandline-driven interface to PICSTART+ PIC programmer"
HOMEPAGE="http://gatling.ikk.sztaki.hu/~kissg/pd/pista/pista.html"
RDEPEND="dev-lang/perl
dev-perl/TermReadKey"
+DEPEND="dev-lang/perl"
-src_compile() {
- perl Makefile.PL PREFIX=/usr || die "Running Makefile.PL failed"
- emake || die "make failed"
-}
+DOCS=( README Changes Copyright doc/pista.html )
-src_install() {
- emake install DESTDIR=${D} || die
- dodoc README Changes Copyright doc/pista.html
+src_configure() {
+ perl Makefile.PL PREFIX=/usr || die "Running Makefile.PL failed"
}