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