wok-6.x annotate lzop/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (20 months ago)
parents 83b97236db32
children
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@25445 10 WEB_SITE="https://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