wok view firmware-mod-kit/receipt @ rev 20534
Add util-linux-losetup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 26 09:46:23 2018 +0100 (2018-11-26) |
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 }