wok-current annotate firmware-mod-kit/receipt @ rev 20144
Timidity++ (update deps)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Nov 11 12:07:21 2017 +0000 (2017-11-11) |
parents | 775714eeb4c8 |
children | ce4fc4b24242 |
rev | line source |
---|---|
pascal@14900 | 1 # SliTaz package receipt. |
pascal@14900 | 2 |
pascal@14900 | 3 PACKAGE="firmware-mod-kit" |
pascal@20116 | 4 VERSION="20170619" |
pascal@20116 | 5 GITHASH=5e74fe9dd95d546c7de3a0b1f85a0bcbb99f7a3e |
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 } |