wok-next diff jbigkit/receipt @ rev 20764
Up cookutils (1064), gifsicle (1.91), zopfli (1.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 00:13:23 2018 +0300 (2018-06-06) |
parents | c4e53a39395a |
children | d5aab818505e |
line diff
1.1 --- a/jbigkit/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/jbigkit/receipt Wed Jun 06 00:13:23 2018 +0300 1.3 @@ -1,27 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="jbigkit" 1.8 VERSION="2.0" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="highly effective data compression algorithm for bi-level high-resolution images." 1.11 +SHORT_DESC="Highly effective data compression algorithm for bi-level \ 1.12 +high-resolution images" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/" 1.19 WGET_URL="http://www.cl.cam.ac.uk/~mgk25/download//$TARBALL" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 - mv $PACKAGE $src 2> /dev/null 1.25 +compile_rules() { 1.26 + mv $PACKAGE $src 2>/dev/null 1.27 cd $src 1.28 - make CC=${HOST_SYSTEM}-gcc 1.29 + make CC=${HOST_SYSTEM}-gcc || return 1 1.30 + 1.31 + mkdir -p $install/usr/lib $install/usr/include 1.32 + cp -a $src/libjbig/*.h $install/usr/include 1.33 + cp -a $src/libjbig/*.a $install/usr/lib 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/lib $fs/usr/include 1.40 - cp -a $src/libjbig/*.h $fs/usr/include 1.41 - cp -a $src/libjbig/*.a $fs/usr/lib 1.42 +genpkg_rules() { 1.43 + copy @std @dev 1.44 }