wok-current annotate firmware-mod-kit/receipt @ rev 24224
updated perl-io-socket-inet6 (2.72 -> 2.73)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:33:39 2021 +0100 (2021-12-31) |
parents | 2b4a27117cfb |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@14900 | 1 # SliTaz package receipt. |
pascal@14900 | 2 |
pascal@14900 | 3 PACKAGE="firmware-mod-kit" |
pascal@22697 | 4 VERSION="0.99git20190714" |
pascal@22697 | 5 GITHASH=104c8213f66d3aa9f9a2449f5d80638ad13c30dc |
pascal@14900 | 6 CATEGORY="misc" |
pascal@14900 | 7 SHORT_DESC="Scripts and utilities to rebuild openwrt based images." |
pascal@14900 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15178 | 9 LICENSE="MIT" |
pascal@20116 | 10 TARBALL="fmk_$VERSION.zip" |
pascal@20116 | 11 WEB_SITE="https://github.com/rampageX/firmware-mod-kit/wiki" |
pascal@20116 | 12 WGET_URL="https://github.com/rampageX/firmware-mod-kit/archive/$GITHASH.zip" |
pascal@19689 | 13 TAGS="openwrt" |
pascal@14900 | 14 |
pascal@20116 | 15 DEPENDS="liblzma zlib bash python-magic coreutils-file-special make gcc \ |
pascal@20116 | 16 linux-api-headers" |
pascal@14900 | 17 BUILD_DEPENDS="liblzma-dev zlib-dev" |
pascal@14900 | 18 |
pascal@14900 | 19 # Rules to configure and make the package. |
pascal@14900 | 20 compile_rules() |
pascal@14900 | 21 { |
pascal@14900 | 22 cd $src/src |
pascal@14900 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@14900 | 24 --mandir=/usr/share/man \ |
pascal@14900 | 25 $CONFIGURE_ARGS && make -j 1 |
pascal@14900 | 26 } |
pascal@14900 | 27 |
pascal@14900 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14900 | 29 genpkg_rules() |
pascal@14900 | 30 { |
pascal@14900 | 31 |
pascal@20116 | 32 mkdir -p $fs/usr/share |
pascal@14900 | 33 cp -a $src $fs/usr/share/firmware-mod-kit |
pascal@14900 | 34 } |
pascal@20116 | 35 |
pascal@20116 | 36 post_install() |
pascal@20116 | 37 { |
pascal@20116 | 38 cat <<EOT |
pascal@20116 | 39 Usage: |
pascal@20116 | 40 # cd /usr/share/firmware-mod-kit |
pascal@20116 | 41 # ./extract-firmware.sh firmware.bin |
pascal@20116 | 42 # echo Now tune the firmware in fmk/ ... |
pascal@20116 | 43 # ./build-firmware.sh |
pascal@20116 | 44 EOT |
pascal@20116 | 45 } |