wok-next annotate firmware-mod-kit/receipt @ rev 20430
fake-sane: fix copy-paste typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:29:11 2018 +0200 (2018-01-24) |
parents | 07eb534c4186 |
children | 0fcf48f89432 |
rev | line source |
---|---|
pascal@14900 | 1 # SliTaz package receipt. |
pascal@14900 | 2 |
pascal@14900 | 3 PACKAGE="firmware-mod-kit" |
pascal@14900 | 4 VERSION="099" |
pascal@14900 | 5 CATEGORY="misc" |
pascal@14900 | 6 SHORT_DESC="Scripts and utilities to rebuild openwrt based images." |
pascal@14900 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15178 | 8 LICENSE="MIT" |
al@19741 | 9 WEB_SITE="https://code.google.com/archive/p/$PACKAGE/" |
al@19741 | 10 |
pascal@14900 | 11 TARBALL="fmk_$VERSION.tar.gz" |
al@19741 | 12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" |
pascal@14900 | 13 |
pascal@14906 | 14 DEPENDS="liblzma zlib bash python-magic coreutils-file-special" |
pascal@14900 | 15 BUILD_DEPENDS="liblzma-dev zlib-dev" |
pascal@14900 | 16 |
pascal@14900 | 17 # Rules to configure and make the package. |
pascal@14900 | 18 compile_rules() |
pascal@14900 | 19 { |
pascal@14900 | 20 cd $src/src |
al@19741 | 21 ./configure $CONFIGURE_ARGS && make -j1 |
al@19741 | 22 |
al@19741 | 23 mkdir -p $install/usr/share |
al@19741 | 24 cp -a $src $install/usr/share/firmware-mod-kit |
pascal@14900 | 25 } |
pascal@14900 | 26 |
pascal@14900 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14900 | 28 genpkg_rules() |
pascal@14900 | 29 { |
al@19741 | 30 cp -a $install/* $fs |
pascal@14900 | 31 } |