wok view lzav-dev/receipt @ rev 25780

Add apultra & lzav
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 14:15:08 2024 +0000 (8 weeks ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lzav-dev"
4 VERSION="4.0"
5 CATEGORY="base-system"
6 TAGS="compression"
7 SHORT_DESC="Fast In-Memory Data Compression Algorithm."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/avaneev/lzav"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/avaneev/lzav/archive/refs/tags/$VERSION.tar.gz"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cp $stuff/lzav.c .
26 make lzav
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/include $fs/usr/bin
34 cp -a $src/lzav.h $fs/usr/include
35 cp -a $src/lzav $fs/usr/bin
36 }