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