MySmartUSB-MK3-Interface

git clone git://xatko.vsos.ethz.ch/MySmartUSB-MK3-Interface.git
Log | Files | Refs

msif-9999.ebuild (748B)


      1 # Copyright 1999-2012 Gentoo Foundation
      2 # Distributed under the terms of the GNU General Public License v2
      3 # $Header: $
      4 
      5 EAPI=4
      6 EGIT_REPO_URI=git://github.com/Doeme/MySmartUSB-MK3-Interface.git
      7 inherit git-2 flag-o-matic toolchain-funcs autotools-utils
      8 DESCRIPTION="An Interface for the MySmartUSB MK3 AVR Programmer"
      9 HOMEPAGE=""
     10 SRC_URI=""
     11 
     12 LICENSE="CC-BY-SA-3.0"
     13 SLOT="0"
     14 KEYWORDS="~amd64 ~x86"
     15 IUSE="dietlibc static"
     16 
     17 DEPEND="sys-devel/gcc
     18 		dietlibc? ( dev-libs/dietlibc )"
     19 RDEPEND="${DEPEND}"
     20 
     21 AUTOTOOLS_AUTORECONF=1
     22 BUILD_DIR="${WORKDIR}/${P}"
     23 
     24 src_configure(){
     25 	use static && append-ldflags "-static"
     26 	use dietlibc && local myeconfargs=( CC="diet $(tc-getCC)" )
     27 	autotools-utils_src_configure
     28 }
     29 src_compile(){
     30 	autotools-utils_src_compile
     31 }