wok-next diff libtasn1/receipt @ rev 20488
palemoon: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 11:00:54 2018 +0100 (2018-03-12) |
parents | f463de72afe3 |
children | 5841522533ec |
line diff
1.1 --- a/libtasn1/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/libtasn1/receipt Mon Mar 12 11:00:54 2018 +0100 1.3 @@ -1,33 +1,34 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libtasn1" 1.8 -VERSION="4.9" 1.9 +VERSION="4.12" 1.10 CATEGORY="security" 1.11 SHORT_DESC="Library for ASN.1 and DER manipulation" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL3 LGPL2.1" 1.14 WEB_SITE="https://www.gnu.org/software/libtasn1/" 1.15 -HOST_ARCH="i486 arm" 1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libtasn1.html" 1.17 1.18 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 +SPLIT="libtasn1-dev" 1.25 + 1.26 +compile_rules() { 1.27 # Package failed to build when optimized for size 1.28 export CFLAGS=${CFLAGS/-Os/-O2} 1.29 1.30 ./configure \ 1.31 --disable-static \ 1.32 $CONFIGURE_ARGS && 1.33 - make && make install 1.34 + make && make install || return 1 1.35 1.36 make -C doc/reference install-data-local 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - copy bin/ *.so* 1.43 +genpkg_rules() { 1.44 + case $PACKAGE in 1.45 + libtasn1) copy @std;; 1.46 + *-dev) copy @dev;; 1.47 + esac 1.48 }