wok-6.x annotate firmware-mod-kit/receipt @ rev 19814
openscad: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 02 08:34:40 2017 +0100 (2017-03-02) |
parents | 07eb534c4186 |
children | 2b4a27117cfb |
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" |
pascal@14900 | 9 TARBALL="fmk_$VERSION.tar.gz" |
pascal@14900 | 10 WEB_SITE="http://code.google.com/p/$PACKAGE/" |
pascal@14900 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@19689 | 12 TAGS="openwrt" |
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 |
pascal@14900 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@14900 | 22 --mandir=/usr/share/man \ |
pascal@14900 | 23 $CONFIGURE_ARGS && make -j 1 |
pascal@14900 | 24 } |
pascal@14900 | 25 |
pascal@14900 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14900 | 27 genpkg_rules() |
pascal@14900 | 28 { |
pascal@14900 | 29 |
pascal@14900 | 30 mkdir -p $fs/usr/share |
pascal@14900 | 31 cp -a $src $fs/usr/share/firmware-mod-kit |
pascal@14900 | 32 } |