Files
haikuports/dev-embedded/avrdude/avrdude-6.0.1.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

62 lines
1.4 KiB
Bash

SUMMARY="A tool to up/download to AVR microcontrollers"
DESCRIPTION="AVRDUDE is an utility to download/upload/manipulate the ROM and \
EEPROM contents of AVR microcontrollers using the in-system programming \
technique (ISP)."
HOMEPAGE="http://www.nongnu.org/avrdude/"
COPYRIGHT="2003-2013 Brian S. Dean"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://download.savannah.gnu.org/releases/avrdude/avrdude-6.0.1.tar.gz"
CHECKSUM_SHA256="c6804668dfa96b23185dfe2e8239089af4e4ae0b11aa7435bebb28c3260ede41"
PATCHES="avrdude-6.0.1.patch"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
GLOBAL_WRITABLE_FILES="
settings/avrdude.conf keep-old
"
PROVIDES="
avrdude$secondaryArchSuffix = $portVersion
cmd:avrdude$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libusb_1.0$secondaryArchSuffix
lib:libftdi1$secondaryArchSuffix
lib:libelf$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libusb_1.0$secondaryArchSuffix
devel:libftdi1$secondaryArchSuffix
devel:libelf$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:automake
cmd:autoconf
cmd:make
cmd:yacc
cmd:flex
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/
aclocal
autoconf
automake
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}