SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fxload"

# SliTaz package receipt.

PACKAGE="fxload"
VERSION="2008_10_13"
CATEGORY="system-tools"
SHORT_DESC="Download firmware into FX, FX2, and FX2LP EZ-USB devices."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://sourceforge.net/projects/linux-hotplug/"
WGET_URL="$SF_MIRROR/linux-hotplug/$PACKAGE/$VERSION/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/linux-hotplug/files/fxload/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/fxload/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/usb
    install $src/fxload $fs/usr/bin
    install -m 0644 $src/a3load.hex $fs/usr/share/usb
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)