wok-current view lzo/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents aada6db9da8e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lzo"
4 VERSION="2.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data compression library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/"
11 WGET_URL="$WEB_SITE$TARBALL"
12 HOST_ARCH="i486 arm"
14 current_version()
15 {
16 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
17 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --enable-shared \
25 $CONFIGURE_ARGS &&
26 make && make 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/lib/*.so* $fs/usr/lib
34 }