wok-current view firmware-mod-kit/receipt @ rev 25429
updated xbindkeys (1.8.6 -> 1.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 17:19:07 2022 +0100 (2022-08-18) |
parents | ce4fc4b24242 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="firmware-mod-kit"
4 VERSION="0.99git20190714"
5 GITHASH=104c8213f66d3aa9f9a2449f5d80638ad13c30dc
6 CATEGORY="misc"
7 SHORT_DESC="Scripts and utilities to rebuild openwrt based images."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="fmk_$VERSION.zip"
11 WEB_SITE="https://github.com/rampageX/firmware-mod-kit/wiki"
12 WGET_URL="https://github.com/rampageX/firmware-mod-kit/archive/$GITHASH.zip"
13 TAGS="openwrt"
15 DEPENDS="liblzma zlib bash python-magic coreutils-file-special make gcc \
16 linux-api-headers"
17 BUILD_DEPENDS="liblzma-dev zlib-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/rampageX/firmware-mod-kit/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src/src
30 ./configure --prefix=/usr --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS && make -j 1
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
39 mkdir -p $fs/usr/share
40 cp -a $src $fs/usr/share/firmware-mod-kit
41 }
43 post_install()
44 {
45 cat <<EOT
46 Usage:
47 # cd /usr/share/firmware-mod-kit
48 # ./extract-firmware.sh firmware.bin
49 # echo Now tune the firmware in fmk/ ...
50 # ./build-firmware.sh
51 EOT
52 }