wok-next annotate libtasn1/receipt @ rev 20809

backup-manager: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 13 13:30:57 2018 +0200 (2018-06-13)
parents 5841522533ec
children f48456621a9d
rev   line source
al@20443 1 # SliTaz package receipt v2.
pankso@4358 2
pankso@4358 3 PACKAGE="libtasn1"
al@20679 4 VERSION="4.13"
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@20679 25 make &&
al@20679 26 make install || return 1
al@19693 27
al@19693 28 make -C doc/reference install-data-local
pankso@4358 29 }
pankso@4358 30
al@20443 31 genpkg_rules() {
al@20443 32 case $PACKAGE in
al@20443 33 libtasn1) copy @std;;
al@20443 34 *-dev) copy @dev;;
al@20443 35 esac
pankso@4358 36 }