wok annotate lzsa/receipt @ rev 23886
glibc: fix for binutils 2.29
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 16 09:15:37 2020 +0000 (2020-07-16) |
parents | 3493dc1a3b96 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@21613 | 1 # SliTaz package receipt. |
pascal@21613 | 2 |
pascal@21613 | 3 PACKAGE="lzsa" |
Hans-G?nter@23160 | 4 VERSION="1.2.0" |
pascal@21613 | 5 CATEGORY="system-tools" |
Hans-G?nter@23160 | 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" |
Hans-G?nter@23160 | 9 WEB_SITE="https://github.com/emmanuel-marty/lzsa" |
Hans-G?nter@23160 | 10 |
pascal@21613 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21613 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@21613 | 13 |
pascal@21613 | 14 # Rules to configure and make the package. |
pascal@21613 | 15 compile_rules() |
pascal@21613 | 16 { |
Hans-G?nter@23160 | 17 sed -i 's|^CC=.*$|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' \ |
Hans-G?nter@23160 | 18 Makefile |
pascal@21613 | 19 make |
pascal@21613 | 20 } |
pascal@21613 | 21 |
pascal@21613 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21613 | 23 genpkg_rules() |
pascal@21613 | 24 { |
Hans-G?nter@23160 | 25 mkdir -p $fs/usr/bin |
Hans-G?nter@23160 | 26 mkdir -p $install/usr/share/doc |
Hans-G?nter@23160 | 27 |
Hans-G?nter@23160 | 28 cp -a $src/lzsa $fs/usr/bin |
Hans-G?nter@23160 | 29 cp $src/README* $install/usr/share/doc |
pascal@21613 | 30 } |