wok-current view lzip/receipt @ rev 25717
Patch ruby to be use openssl 3.x
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 18:19:03 2024 +0000 (5 months ago) |
parents | 1c75fb23b954 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lzip"
4 VERSION="1.23"
5 CATEGORY="utilities"
6 SHORT_DESC="LZMA compressor."
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nongnu.org/lzip/lzip.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.savannah.gnu.org/releases/lzip/$TARBALL"
14 DEPENDS="gcc-lib-base"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed '/>lzip-/!d;/tar/d;s|.*lzip-||;s|.tar.*||' | sed '$!d'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $DESTDIR/usr/share/doc
29 cp README $DESTDIR/usr/share/doc
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }