wok-6.x annotate firmware-mod-kit/receipt @ rev 23426

updated php packages (7.3.16 -> 7.4.4)
author Hans-G?nter Theisgen
date Wed Apr 01 15:23:29 2020 +0100 (2020-04-01)
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 }