wok annotate lzsa/receipt @ rev 22180
linld: spare up to 30k more for zImage (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 09 17:39:43 2019 +0100 (2019-11-09) |
parents | |
children | 11600d673d8a |
rev | line source |
---|---|
pascal@21613 | 1 # SliTaz package receipt. |
pascal@21613 | 2 |
pascal@21613 | 3 PACKAGE="lzsa" |
pascal@21613 | 4 VERSION="0.5.6" |
pascal@21613 | 5 CATEGORY="system-tools" |
pascal@21613 | 6 SHORT_DESC="Efficient packer optimized for fast decompression on 8-bit cpu" |
pascal@21613 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21613 | 8 LICENSE="zlib/libpng cc" |
pascal@21613 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21613 | 10 WEB_SITE="https://github.com/emmanuel-marty/lzsa" |
pascal@21613 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@21613 | 12 |
pascal@21613 | 13 # Rules to configure and make the package. |
pascal@21613 | 14 compile_rules() |
pascal@21613 | 15 { |
pascal@21613 | 16 sed -i 's|^CC=.*$|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' Makefile |
pascal@21613 | 17 make |
pascal@21613 | 18 } |
pascal@21613 | 19 |
pascal@21613 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21613 | 21 genpkg_rules() |
pascal@21613 | 22 { |
pascal@21613 | 23 mkdir -p $fs/usr/bin $install/usr/share/doc |
pascal@21613 | 24 cp -a $src/lzsa $fs/usr/bin |
pascal@21613 | 25 cp $src/README* $install/usr/share/doc |
pascal@21613 | 26 } |