wok-current annotate lzsa/receipt @ rev 22457
freedoom: update 0.7 -> 0.8
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:35:56 2019 +0000 (2019-12-26) |
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 } |