wok-current view firmware-mod-kit/receipt @ rev 23667
updated squirrelmail-multilogin (2.4-1.2.9 -> 2.4.2-1.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 06:53:18 2020 +0100 (2020-04-26) |
parents | 2b4a27117cfb |
children | b569b85b0fb9 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src/src
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS && make -j 1
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
32 mkdir -p $fs/usr/share
33 cp -a $src $fs/usr/share/firmware-mod-kit
34 }
36 post_install()
37 {
38 cat <<EOT
39 Usage:
40 # cd /usr/share/firmware-mod-kit
41 # ./extract-firmware.sh firmware.bin
42 # echo Now tune the firmware in fmk/ ...
43 # ./build-firmware.sh
44 EOT
45 }