wok-current annotate firmware-mod-kit/receipt @ rev 14900

Add firmware-mod-kit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 31 11:20:11 2013 +0200 (2013-07-31)
parents
children 1af999926109
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@14900 8 TARBALL="fmk_$VERSION.tar.gz"
pascal@14900 9 WEB_SITE="http://code.google.com/p/$PACKAGE/"
pascal@14900 10 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
pascal@14900 11
pascal@14900 12 DEPENDS="liblzma zlib bash"
pascal@14900 13 BUILD_DEPENDS="liblzma-dev zlib-dev"
pascal@14900 14
pascal@14900 15 # Rules to configure and make the package.
pascal@14900 16 compile_rules()
pascal@14900 17 {
pascal@14900 18 cd $src/src
pascal@14900 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@14900 20 --mandir=/usr/share/man \
pascal@14900 21 $CONFIGURE_ARGS && make -j 1
pascal@14900 22 }
pascal@14900 23
pascal@14900 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14900 25 genpkg_rules()
pascal@14900 26 {
pascal@14900 27
pascal@14900 28 mkdir -p $fs/usr/share
pascal@14900 29 cp -a $src $fs/usr/share/firmware-mod-kit
pascal@14900 30 }