wok-6.x view fxload/receipt @ rev 25522
created recipes for libtermkey and libtermkey-dev 0.22
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:12:54 2023 +0100 (20 months ago) |
parents | ad0bc3efbf37 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fxload"
4 VERSION="2008_10_13"
5 CATEGORY="system-tools"
6 SHORT_DESC="Download firmware into FX, FX2, and FX2LP EZ-USB devices."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/linux-hotplug/"
11 WGET_URL="$SF_MIRROR/linux-hotplug/$PACKAGE/$VERSION/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://sourceforge.net/projects/linux-hotplug/files/fxload/ 2>/dev/null | \
17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
18 sed '/scope="row/!d;s|.*/fxload/||;s|/.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/usb
31 install $src/fxload $fs/usr/bin
32 install -m 0644 $src/a3load.hex $fs/usr/share/usb
33 }