diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 01:33:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-20 01:33:54 +0000 |
commit | 86c26bedd1462624dd75acf366ad23dac752ea4a (patch) | |
tree | b0f85cef340f37800332e7a0f9c4b5b7418777e9 /dev-embedded | |
parent | +dev-embedded/openocd:{ft2232,parport,presto} (diff) | |
download | historical-86c26bedd1462624dd75acf366ad23dac752ea4a.tar.gz historical-86c26bedd1462624dd75acf366ad23dac752ea4a.tar.bz2 historical-86c26bedd1462624dd75acf366ad23dac752ea4a.zip |
Initial ebuild by Claes Mogren and Kliakhandler Kosta and me #200689.
Package-Manager: portage-2.2_pre5
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/openocd/ChangeLog | 8 | ||||
-rw-r--r-- | dev-embedded/openocd/Manifest | 13 | ||||
-rw-r--r-- | dev-embedded/openocd/metadata.xml | 5 | ||||
-rw-r--r-- | dev-embedded/openocd/openocd-9999.ebuild | 57 |
4 files changed, 83 insertions, 0 deletions
diff --git a/dev-embedded/openocd/ChangeLog b/dev-embedded/openocd/ChangeLog new file mode 100644 index 000000000000..1a160ccf5f7a --- /dev/null +++ b/dev-embedded/openocd/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-embedded/openocd +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/ChangeLog,v 1.1 2008/04/20 01:33:54 vapier Exp $ + +*openocd-9999 (19 Apr 2008) + + 19 Apr 2008; Mike Frysinger <vapier@gentoo.org> +openocd-9999.ebuild: + Initial ebuild by Claes Mogren and Kliakhandler Kosta and me #200689. diff --git a/dev-embedded/openocd/Manifest b/dev-embedded/openocd/Manifest new file mode 100644 index 000000000000..1bb8d27d9e61 --- /dev/null +++ b/dev-embedded/openocd/Manifest @@ -0,0 +1,13 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +EBUILD openocd-9999.ebuild 1560 RMD160 c092a33a6bec1746394a5afb861cfed412873c19 SHA1 dcbc253b3af63b74d2040f72ffdbe95f59a91286 SHA256 e632c8471c388010b7974e6cc83b8bac7354aba4b828ab50ac7468a62a3aa79d +MISC ChangeLog 386 RMD160 c16ac44fbb7ad425fbd8cacc783ac5dc439f8544 SHA1 ada340b578b3160f261f0262a81de12c89014bef SHA256 2583aaa1056043ece1f8a733356bfadea5bfeb527e6898f8f90f48252c8a3172 +MISC metadata.xml 165 RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 SHA1 54b9da7fdc6d8376c990288c72938be9855ef8b6 SHA256 fb7ede94a0633f77d601e3e81580eac1624a3bca14401a49d94082579507ba0a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFICp2Ij9hvisErhMIRAgXBAKCd6/n3pb2euYYdVxbU7K3MXRMPswCg1i5z +7RoUtVg0/QcyHP94TdB4RU0= +=Dg5v +-----END PGP SIGNATURE----- diff --git a/dev-embedded/openocd/metadata.xml b/dev-embedded/openocd/metadata.xml new file mode 100644 index 000000000000..92114080841c --- /dev/null +++ b/dev-embedded/openocd/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dev-embedded</herd> +</pkgmetadata> diff --git a/dev-embedded/openocd/openocd-9999.ebuild b/dev-embedded/openocd/openocd-9999.ebuild new file mode 100644 index 000000000000..30ce58470bc8 --- /dev/null +++ b/dev-embedded/openocd/openocd-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-9999.ebuild,v 1.1 2008/04/20 01:33:54 vapier Exp $ + +ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/openocd/trunk" +inherit eutils subversion + +DESCRIPTION="OpenOCD - Open On-Chip Debugger" +HOMEPAGE="http://openocd.berlios.de/web/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="ft2232 ftdi parport presto" +RESTRICT="strip" # includes non-native binaries + +# libftd2xx is the default because it is reported to work better. +DEPEND="presto? ( dev-embedded/libftd2xx ) + ft2232? ( || ( ftdi? ( dev-embedded/libftdi ) dev-embedded/libftd2xx ) )" + +pkg_setup() { + if use ftdi && ! use ft2232 ; then + ewarn "You enabled libftdi but not ft2232!" + ewarn "libftdi is only used for ft2232, so this is meaningless!" + fi +} + +src_unpack() { + subversion_src_unpack + cd "${S}" + ./bootstrap || die "Can't bootstrap!" +} + +src_compile() { + econf \ + --enable-parport \ + --enable-parport_ppdev \ + --enable-amtjtagaccel \ + --enable-ep93xx \ + --enable-at91rm9200 \ + --enable-gw16012 \ + --enable-usbprog \ + --enable-oocd_trace \ + $(use_enable parport parport_giveio) \ + $(use_enable presto presto_ftd2xx) \ + $(use ft2232 && use_enable ftdi ft2232_libftdi) \ + $(use ft2232 && use_enable !ftdi ft2232_ftd2xx) \ + || die "Error in econf!" + emake || die "Error in emake!" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README TODO + prepstrip "${D}"/usr/bin +} |