wok-6.x view lzsa/receipt @ rev 23925

Add Connect-Four
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 23 10:18:23 2020 +0000 (2020-08-23)
parents 3493dc1a3b96
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="lzsa"
4 VERSION="1.2.0"
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 WEB_SITE="https://github.com/emmanuel-marty/lzsa"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's|^CC=.*$|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' \
18 Makefile
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 mkdir -p $install/usr/share/doc
28 cp -a $src/lzsa $fs/usr/bin
29 cp $src/README* $install/usr/share/doc
30 }