wok-current diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lzsa/receipt Thu Dec 26 11:35:56 2019 +0000 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lzsa" 1.7 +VERSION="0.5.6" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Efficient packer optimized for fast decompression on 8-bit cpu" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="zlib/libpng cc" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/emmanuel-marty/lzsa" 1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + sed -i 's|^CC=.*$|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' Makefile 1.20 + make 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + mkdir -p $fs/usr/bin $install/usr/share/doc 1.27 + cp -a $src/lzsa $fs/usr/bin 1.28 + cp $src/README* $install/usr/share/doc 1.29 +}