wok view jbig2dec/receipt @ rev 24119

Add javascript-boulderdash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 04 18:07:23 2021 +0000 (2021-10-04)
parents 3ae2d1f7b186
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="jbig2dec"
4 VERSION="0.18"
5 CATEGORY="development"
6 SHORT_DESC="Decoder implementation of the JBIG2 image compressiong format."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/ArtifexSoftware/jbig2dec"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION/$TARBALL"
14 BUILD_DEPENDS="autoconf automake libpng-dev libtool"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }