wok view lzop/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (7 months ago)
parents 83b97236db32
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lzop"
4 VERSION="1.04"
5 CATEGORY="base-system"
6 SHORT_DESC="Compressor with a high compression speed."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.lzop.org/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="lzo"
15 BUILD_DEPENDS="lzo-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Version/!d;s|.*sion ||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 $CONFIGURE_ARGS &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp $src/src/lzop $fs/usr/bin
37 }