wok view jbigkit/receipt @ rev 24729
updated libdnet and libdnet-dev (1.12 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 16:28:57 2022 +0100 (2022-03-15) |
parents | e47f63eb05bf |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="jbigkit"
4 VERSION="2.1"
5 CATEGORY="development"
6 SHORT_DESC="Highly effective data compression algorithm for bi-level high-resolution images."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.cl.cam.ac.uk/~mgk25/jbigkit/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make CC=${HOST_SYSTEM}-gcc
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/include
34 cp -a $src/libjbig/*.h $fs/usr/include
35 cp -a $src/libjbig/*.a $fs/usr/lib
36 }