wok diff lzav-dev/receipt @ rev 25795

created recipe for libxfcegui4-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:34:18 2024 +0100 (3 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lzav-dev/receipt	Wed Oct 23 16:34:18 2024 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lzav-dev"
     1.7 +VERSION="4.0"
     1.8 +CATEGORY="base-system"
     1.9 +TAGS="compression"
    1.10 +SHORT_DESC="Fast In-Memory Data Compression Algorithm."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="MIT"
    1.13 +WEB_SITE="https://github.com/avaneev/lzav"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://github.com/avaneev/lzav/archive/refs/tags/$VERSION.tar.gz"
    1.17 +
    1.18 +# What is the latest version available today?
    1.19 +current_version()
    1.20 +{
    1.21 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.22 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.23 +}
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	cp $stuff/lzav.c .
    1.29 +	make lzav
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/include $fs/usr/bin
    1.36 +
    1.37 +	cp -a $src/lzav.h	$fs/usr/include
    1.38 +	cp -a $src/lzav		$fs/usr/bin
    1.39 +}