wok-6.x view lzop/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 1cc8dfef2917 |
children | 4b3fc3102e2d |
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="http://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 }