wok view fxload/receipt @ rev 24658
created recipes for libdbi and libdbi-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 09:23:49 2022 +0100 (2022-03-11) |
parents | 86790a278e70 |
children | ad0bc3efbf37 |
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 }