wok-current diff 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
line diff
     1.1 --- a/firmware-mod-kit/receipt	Mon Feb 13 09:08:56 2017 +0100
     1.2 +++ b/firmware-mod-kit/receipt	Sat Nov 11 12:07:21 2017 +0000
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firmware-mod-kit"
     1.7 -VERSION="099"
     1.8 +VERSION="20170619"
     1.9 +GITHASH=5e74fe9dd95d546c7de3a0b1f85a0bcbb99f7a3e
    1.10  CATEGORY="misc"
    1.11  SHORT_DESC="Scripts and utilities to rebuild openwrt based images."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -TARBALL="fmk_$VERSION.tar.gz"
    1.15 -WEB_SITE="http://code.google.com/p/$PACKAGE/"
    1.16 -WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    1.17 +TARBALL="fmk_$VERSION.zip"
    1.18 +WEB_SITE="https://github.com/rampageX/firmware-mod-kit/wiki"
    1.19 +WGET_URL="https://github.com/rampageX/firmware-mod-kit/archive/$GITHASH.zip"
    1.20  TAGS="openwrt"
    1.21  
    1.22 -DEPENDS="liblzma zlib bash python-magic coreutils-file-special"
    1.23 +DEPENDS="liblzma zlib bash python-magic coreutils-file-special make gcc \
    1.24 +linux-api-headers"
    1.25  BUILD_DEPENDS="liblzma-dev zlib-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28 @@ -27,6 +29,17 @@
    1.29  genpkg_rules()
    1.30  {
    1.31  	
    1.32 -	mkdir -p $fs/usr/share 
    1.33 +	mkdir -p $fs/usr/share
    1.34  	cp -a $src $fs/usr/share/firmware-mod-kit
    1.35  }
    1.36 +
    1.37 +post_install()
    1.38 +{
    1.39 +	cat <<EOT
    1.40 +Usage:
    1.41 +	# cd /usr/share/firmware-mod-kit
    1.42 +	# ./extract-firmware.sh firmware.bin
    1.43 +	# echo Now tune the firmware in fmk/ ...
    1.44 +	# ./build-firmware.sh
    1.45 +EOT
    1.46 +}