wok annotate libsixel/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents 8b0034a7d8ca
children 0dd14847d144
rev   line source
pascal@20644 1 # SliTaz package receipt.
pascal@20644 2
pascal@20644 3 PACKAGE="libsixel"
Hans-G?nter@23102 4 VERSION="1.8.6"
pascal@20644 5 CATEGORY="graphics"
Hans-G?nter@23102 6 SHORT_DESC="A SIXEL encoder and decoder implementation derived from kmiya's sixel."
pascal@20644 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20644 8 LICENSE="MIT"
Hans-G?nter@23102 9 WEB_SITE="https://github.com/saitoha/libsixel"
Hans-G?nter@23102 10
pascal@20644 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20644 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@20644 13
pascal@20644 14 BUILD_DEPENDS="python"
pascal@20644 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@20644 22 # Rules to configure and make the package.
pascal@20644 23 compile_rules()
pascal@20644 24 {
Hans-G?nter@23102 25 ./configure \
Hans-G?nter@23102 26 --prefix=/usr \
Hans-G?nter@23102 27 --mandir=/usr/share/man \
pascal@20644 28 $CONFIGURE_ARGS &&
pascal@20644 29 make &&
pascal@20644 30 make DESTDIR=$DESTDIR install
pascal@20644 31 }
pascal@20644 32
pascal@20644 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20644 34 genpkg_rules()
pascal@20644 35 {
pascal@20644 36 mkdir -p $fs/usr/lib
Hans-G?nter@23102 37
Hans-G?nter@23102 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23102 39 cp -a $install/usr/lib/*.so.* $fs/usr/lib
pascal@20644 40 }