wok annotate avrdude/receipt @ rev 24428
updated cmus (2.8.0 -> 2.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 14:59:37 2022 +0100 (2022-02-12) |
parents | 9af0e03b8ad0 |
children |
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" |
pascal@20578 | 14 BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev \ |
pascal@24374 | 15 readline-dev file" |
psychomaniak@20112 | 16 |
pascal@24373 | 17 # What is the latest version available today? |
pascal@24373 | 18 current_version() |
pascal@24373 | 19 { |
pascal@24373 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24373 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 22 } |
pascal@24373 | 23 |
psychomaniak@20112 | 24 # Rules to configure and make the package. |
psychomaniak@20112 | 25 compile_rules() |
psychomaniak@20112 | 26 { |
psychomaniak@20112 | 27 ./configure \ |
psychomaniak@20112 | 28 --mandir=/usr/share/man \ |
psychomaniak@20112 | 29 --prefix=/usr \ |
psychomaniak@20112 | 30 --sysconfdir=/etc \ |
psychomaniak@20112 | 31 --enable-linuxgpio |
psychomaniak@20112 | 32 make && make install |
psychomaniak@20112 | 33 } |
psychomaniak@20112 | 34 |
psychomaniak@20112 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@20112 | 36 genpkg_rules() |
psychomaniak@20112 | 37 { |
psychomaniak@20112 | 38 cp -a $install/* $fs |
psychomaniak@20112 | 39 } |