wok-current view libsixel/receipt @ rev 25484

created recipe for py3k-cryptography
author Hans-G?nter Theisgen
date Mon Oct 17 07:58:57 2022 +0100 (2022-10-17)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsixel"
4 VERSION="1.10.3"
5 CATEGORY="graphics"
6 SHORT_DESC="A SIXEL encoder and decoder implementation derived from kmiya's sixel."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/libsixel/libsixel"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="meson"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 meson _build \
26 --prefix=/usr &&
27 ninja -C _build &&
28 ninja -C _build install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders bin
35 cook_copy_files *.so*
36 }