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