wok-6.x view jbig2dec/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | 5ea0ce1cecc0 |
children | 77022d0ba24d |
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*}/tags 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 }