SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "avrdude"

# SliTaz package receipt.

PACKAGE="avrdude"
VERSION="6.3"
CATEGORY="electronics"
SHORT_DESC="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL"
WEB_SITE="http://www.nongnu.org/avrdude/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"

DEPENDS="libftdi libusb-compat libusb readline elfutils"
BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev \
readline-dev file"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --mandir=/usr/share/man \
        --prefix=/usr \
        --sysconfdir=/etc \
        --enable-linuxgpio
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
        cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)