wok view libsixel/receipt @ rev 24924
Add as & asxxxx
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 13 10:27:34 2022 +0000 (2022-04-13) |
parents | 5ea0ce1cecc0 |
children | 7364ffdaaa60 |
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 }