diff options
author | Joseph Jezak <josejx@gentoo.org> | 2008-09-19 06:58:18 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2008-09-19 06:58:18 +0000 |
commit | 2adb056d5847fe1e52d4da7c943ef57b8b9ffb70 (patch) | |
tree | f0c68e92fc4cd5ae471136091e04f39d3f39faa5 /dev-embedded | |
parent | Added license for pk2cmd. (diff) | |
download | historical-2adb056d5847fe1e52d4da7c943ef57b8b9ffb70.tar.gz historical-2adb056d5847fe1e52d4da7c943ef57b8b9ffb70.tar.bz2 historical-2adb056d5847fe1e52d4da7c943ef57b8b9ffb70.zip |
Initial commit of pk2cmd.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/pk2cmd/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/pk2cmd/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/pk2cmd/metadata.xml | 12 | ||||
-rw-r--r-- | dev-embedded/pk2cmd/pk2cmd-1.12.0.ebuild | 47 |
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-embedded/pk2cmd/ChangeLog b/dev-embedded/pk2cmd/ChangeLog new file mode 100644 index 000000000000..c12b3ea3702c --- /dev/null +++ b/dev-embedded/pk2cmd/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-embedded/pk2cmd +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/ChangeLog,v 1.1 2008/09/19 06:58:18 josejx Exp $ + +*pk2cmd-1.12.0 (19 Sep 2008) + + 19 Sep 2008; Joseph Jezak <josejx@gentoo.org> +metadata.xml, + +pk2cmd-1.12.0.ebuild: + Initial ebuild import. + diff --git a/dev-embedded/pk2cmd/Manifest b/dev-embedded/pk2cmd/Manifest new file mode 100644 index 000000000000..8a50118902e5 --- /dev/null +++ b/dev-embedded/pk2cmd/Manifest @@ -0,0 +1,4 @@ +DIST pk2cmdv1.12.0LinuxMacSource.tar.gz 360705 RMD160 875eefec9836bbf3369661b2093a24ccd3a772e2 SHA1 3d01ff04dc7539a85d6f1a087e7c583a8166ba4b SHA256 59ff6369f5fcedfea46cb10a2c8bfe7fe0405475f5248fc7587d1270358fc333 +EBUILD pk2cmd-1.12.0.ebuild 1237 RMD160 889b7a4d212348da57e1c2625aec7dce3d296b04 SHA1 d19ae03abacb47f6b7c86286ef9d6296c335b97b SHA256 2d38c82d557c7b90cfc6f33e7798bc963b14a814da4b755e4af2ec2f3311e51b +MISC ChangeLog 355 RMD160 9c4221adbf59a77eec7a70c8173649019fb835ac SHA1 68151625c360dcb93878994c9a957bc2abd40db3 SHA256 054fec5ab664fdbaf6d237e6ba92ba4b8f1da894af26c82cadb81da07e5fb549 +MISC metadata.xml 342 RMD160 f403d54f8d4e85d3711de099ff376b4a851c97bd SHA1 be81845bf661ab4590ec19347403ee19efd65d8c SHA256 1dfbb443e95a6a4afb3b9a9fe5b4a30644fd2c9e3454a678ae22408cad71b209 diff --git a/dev-embedded/pk2cmd/metadata.xml b/dev-embedded/pk2cmd/metadata.xml new file mode 100644 index 000000000000..e406b494d247 --- /dev/null +++ b/dev-embedded/pk2cmd/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>embedded</herd> +<maintainer> + <email>josejx@gentoo.org</email> +</maintainer> +<longdescription lang="en"> +This application allows the use of the PICKit2 PIC programming device. +</longdescription> +</pkgmetadata> + diff --git a/dev-embedded/pk2cmd/pk2cmd-1.12.0.ebuild b/dev-embedded/pk2cmd/pk2cmd-1.12.0.ebuild new file mode 100644 index 000000000000..6ab4225b791c --- /dev/null +++ b/dev-embedded/pk2cmd/pk2cmd-1.12.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/pk2cmd/pk2cmd-1.12.0.ebuild,v 1.1 2008/09/19 06:58:18 josejx Exp $ + +inherit toolchain-funcs + +DESCRIPTION="An application for working with the Microchip PicKit2 PIC programmer" +HOMEPAGE="http://www.microchip.com/pickit2" +SRC_URI="http://ww1.microchip.com/downloads/en/DeviceDoc/${PN}v${PV}LinuxMacSource.tar.gz" + +LICENSE="MicroChip-PK2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="dev-libs/libusb" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}v${PV}LinuxMacSource" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix up the Makefile + sed -i 's:#TARGET=linux:TARGET=linux:' Makefile + sed -i 's:DBG=-O2:DBG=:' Makefile + sed -i 's:^CFLAGS=:CFLAGS+=:' Makefile + sed -i 's:^LIBUSB=/usr/local:LIBUSB=/usr:' Makefile + sed -i "s:^CC=g++::" Makefile +} + +src_compile() { + emake CC="$(tc-getCXX)" || die "emake failed" +} + +src_install() { + # Copy the device files and PicKit2 OS + insinto "/usr/share/pk2" + doins PK2DeviceFile.dat + doins PK2V023200.hex + # Install the program + exeinto /usr/bin + doexe pk2cmd + # Install the documentation + dodoc ReadmeForPK2CMDLinux2-6.txt usbhotplug.txt +} |