wok-next annotate libtasn1/receipt @ rev 20532
moc, mypaint: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 26 13:35:23 2018 +0200 (2018-03-26) |
parents | f463de72afe3 |
children | 5841522533ec |
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@20443 | 24 make && make install || return 1 |
al@19693 | 25 |
al@19693 | 26 make -C doc/reference install-data-local |
pankso@4358 | 27 } |
pankso@4358 | 28 |
al@20443 | 29 genpkg_rules() { |
al@20443 | 30 case $PACKAGE in |
al@20443 | 31 libtasn1) copy @std;; |
al@20443 | 32 *-dev) copy @dev;; |
al@20443 | 33 esac |
pankso@4358 | 34 } |