wok-6.x view lizard/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | |
children |
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 }