wok-next annotate libtasn1/receipt @ rev 20595
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 16 11:36:31 2018 +0300 (2018-04-16) |
parents | 0e7893ac206d |
children | 1ca369c9f448 |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
pankso@4358 | 2 |
pankso@4358 | 3 PACKAGE="libtasn1" |
al@20443 | 4 VERSION="4.12" |
pankso@4358 | 5 CATEGORY="security" |
al@19693 | 6 SHORT_DESC="Library for ASN.1 and DER manipulation" |
pankso@4358 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL3 LGPL2.1" |
al@19693 | 9 WEB_SITE="https://www.gnu.org/software/libtasn1/" |
al@20443 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libtasn1.html" |
al@19693 | 11 |
pankso@4358 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4358 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@4358 | 14 |
al@20443 | 15 SPLIT="libtasn1-dev" |
al@20443 | 16 |
al@20443 | 17 compile_rules() { |
al@19693 | 18 # Package failed to build when optimized for size |
al@19693 | 19 export CFLAGS=${CFLAGS/-Os/-O2} |
al@19693 | 20 |
pankso@4358 | 21 ./configure \ |
al@19693 | 22 --disable-static \ |
pankso@4358 | 23 $CONFIGURE_ARGS && |
al@20595 | 24 fix libtool && |
al@20443 | 25 make && make install || return 1 |
al@19693 | 26 |
al@19693 | 27 make -C doc/reference install-data-local |
pankso@4358 | 28 } |
pankso@4358 | 29 |
al@20443 | 30 genpkg_rules() { |
al@20443 | 31 case $PACKAGE in |
al@20443 | 32 libtasn1) copy @std;; |
al@20443 | 33 *-dev) copy @dev;; |
al@20443 | 34 esac |
pankso@4358 | 35 } |