wok view lizard/receipt @ rev 24185
updated perl-common-sense (3.74 -> 3.75)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:04:57 2021 +0100 (2021-12-31) |
parents | |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lizard"
4 VERSION="1.0"
5 CATEGORY="base-system"
6 SHORT_DESC="A modification of LZ4 with a better ratio but slower."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/inikep/lizard"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 BUILD_DEPENDS="pkg-config"
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's|/usr/local|/usr|' Makefile */Makefile
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }