wok view avrdude/receipt @ rev 25509

sgmixer: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 13:14:45 2023 +0000 (21 months ago)
parents 9af0e03b8ad0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="avrdude"
4 VERSION="6.3"
5 CATEGORY="electronics"
6 SHORT_DESC="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL"
9 WEB_SITE="http://www.nongnu.org/avrdude/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
13 DEPENDS="libftdi libusb-compat libusb readline elfutils"
14 BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev \
15 readline-dev file"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --mandir=/usr/share/man \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --enable-linuxgpio
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }