wok-6.x view firmware-mod-kit/receipt @ rev 21817
updated mlt (6.14.0 -> 6.16.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 19 17:12:45 2019 +0100 (2019-08-19) |
parents | 775714eeb4c8 |
children | ce4fc4b24242 |
line source
1 # SliTaz package receipt.
3 PACKAGE="firmware-mod-kit"
4 VERSION="20170619"
5 GITHASH=5e74fe9dd95d546c7de3a0b1f85a0bcbb99f7a3e
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 }