wok-current annotate avrdude/receipt @ rev 20112
Add avrdude
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 11 21:57:55 2017 +0200 (2017-10-11) |
parents | |
children | 9415addc582d |
rev | line source |
---|---|
psychomaniak@20112 | 1 # SliTaz package receipt. |
psychomaniak@20112 | 2 |
psychomaniak@20112 | 3 PACKAGE="avrdude" |
psychomaniak@20112 | 4 VERSION="6.3" |
psychomaniak@20112 | 5 CATEGORY="electronics" |
psychomaniak@20112 | 6 SHORT_DESC="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers" |
psychomaniak@20112 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@20112 | 8 LICENSE="GPL" |
psychomaniak@20112 | 9 WEB_SITE="http://www.nongnu.org/avrdude/" |
psychomaniak@20112 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@20112 | 11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
psychomaniak@20112 | 12 |
psychomaniak@20112 | 13 DEPENDS="libftdi libusb-compat libusb readline elfutils" |
psychomaniak@20112 | 14 BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev" |
psychomaniak@20112 | 15 |
psychomaniak@20112 | 16 # Rules to configure and make the package. |
psychomaniak@20112 | 17 compile_rules() |
psychomaniak@20112 | 18 { |
psychomaniak@20112 | 19 ./configure \ |
psychomaniak@20112 | 20 --mandir=/usr/share/man \ |
psychomaniak@20112 | 21 --prefix=/usr \ |
psychomaniak@20112 | 22 --sysconfdir=/etc \ |
psychomaniak@20112 | 23 --enable-linuxgpio |
psychomaniak@20112 | 24 make && make install |
psychomaniak@20112 | 25 } |
psychomaniak@20112 | 26 |
psychomaniak@20112 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20112 | 28 genpkg_rules() |
psychomaniak@20112 | 29 { |
psychomaniak@20112 | 30 cp -a $install/* $fs |
psychomaniak@20112 | 31 } |