wok-current annotate firmware-mod-kit/receipt @ rev 15929
Add asciidoc (text based documentation)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 11:23:01 2014 +0100 (2014-02-22) |
parents | 153f3ed96c2d |
children | 775714eeb4c8 |
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@14900 | 12 |
pascal@14906 | 13 DEPENDS="liblzma zlib bash python-magic coreutils-file-special" |
pascal@14900 | 14 BUILD_DEPENDS="liblzma-dev zlib-dev" |
pascal@14900 | 15 |
pascal@14900 | 16 # Rules to configure and make the package. |
pascal@14900 | 17 compile_rules() |
pascal@14900 | 18 { |
pascal@14900 | 19 cd $src/src |
pascal@14900 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@14900 | 21 --mandir=/usr/share/man \ |
pascal@14900 | 22 $CONFIGURE_ARGS && make -j 1 |
pascal@14900 | 23 } |
pascal@14900 | 24 |
pascal@14900 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14900 | 26 genpkg_rules() |
pascal@14900 | 27 { |
pascal@14900 | 28 |
pascal@14900 | 29 mkdir -p $fs/usr/share |
pascal@14900 | 30 cp -a $src $fs/usr/share/firmware-mod-kit |
pascal@14900 | 31 } |