smdk-dltool-0.20-r4.ebuild 837 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="4"
  4. inherit toolchain-funcs eutils
  5. DESCRIPTION="Tool to communicate with Samsung SMDK boards"
  6. HOMEPAGE="http://www.fluff.org/ben/smdk/tools/"
  7. SRC_URI="http://www.fluff.org/ben/smdk/tools/downloads/smdk-tools-v${PV}.tar.gz"
  8. # Email sent to author on 2012-01-18 querying about license
  9. LICENSE="all-rights-reserved"
  10. SLOT="0"
  11. KEYWORDS="~amd64 ~x86"
  12. IUSE=""
  13. RESTRICT="mirror bindist"
  14. RDEPEND="virtual/libusb:1"
  15. DEPEND="${RDEPEND}"
  16. S=${WORKDIR}/releases/smdk-tools-v${PV}/dltool
  17. src_prepare() {
  18. epatch "${FILESDIR}"/${P}-add-S3C64xx-support.patch
  19. epatch "${FILESDIR}"/${P}-build.patch
  20. epatch "${FILESDIR}"/${P}-libusb-1.0-r1.patch
  21. tc-export CC PKG_CONFIG
  22. }
  23. src_install() {
  24. newbin dltool smdk-usbdl
  25. dodoc readme.txt
  26. }