diff options
Diffstat (limited to 'dev-embedded/ponyprog/ponyprog-2.06c.ebuild')
-rw-r--r-- | dev-embedded/ponyprog/ponyprog-2.06c.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-embedded/ponyprog/ponyprog-2.06c.ebuild b/dev-embedded/ponyprog/ponyprog-2.06c.ebuild new file mode 100644 index 000000000000..25639c9675a3 --- /dev/null +++ b/dev-embedded/ponyprog/ponyprog-2.06c.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ponyprog/ponyprog-2.06c.ebuild,v 1.1 2004/03/16 11:38:09 dragonheart Exp $ + +RESTRICT="nomirror" + +S=${WORKDIR} +DESCRIPTION="EEprom e Pic Programmer" +HOMEPAGE="http://www.lancos.com/ppwin95.html" +SRC_URI="http://www.lancos.com/e2p/V2_06/${P}-rh70.tar.gz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" +RDEPEND="x11-base/xfree + sys-libs/lib-compat + sys-libs/glibc" + +src_install () { + dodir /etc/env.d + echo "LDPATH='/opt/ponyprog/lib'" > ${D}/etc/env.d/40ponyprog || die + insinto /etc/env.d + doins etc/env.d/40ponyprog + + einfo "Installing binaries" + + into /opt/${PN} + dobin ${S}/usr/local/bin/ponyprog2000 + dodir /opt/${PN}/lib + dolib ${S}/usr/lib/* + + dodir /opt/bin + dosym /opt/${PN}/bin/ponyprog2000 /opt/bin/ponyprog +} + +pkg_postinst() { + einfo "To use the COM port in user mode (not as root) you need" + einfo "make sure you have the rights to write /dev/ttyS? devices " + einfo "and /var/lock directory." + einfo "" + einfo "To use the LPT port in user mode (not as root) you need a 2.4.x kernel " + einfo "with ppdev, parport and parport_pc compiled in as modules. You need the " + einfo "rights to write /dev/parport? devices." + einfo "" + einfo "You can use /opt/bin/ponyprog" +} + |