wok-next view libtasn1/receipt @ rev 20896

dialog: up (1.3-20180621); dropbear: up (2018.76); e2fsprogs: up (1.44.3); elfutils: up (0.173); eudev: up (3.2.5); expat: up (2.2.5); fontconfig: up (2.13.0); freetype: up (2.9.1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 20 16:59:33 2018 +0300 (2018-07-20)
parents 5841522533ec
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtasn1"
4 VERSION="4.13"
5 CATEGORY="security"
6 SHORT_DESC="Library for ASN.1 and DER manipulation"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3 LGPL2.1"
9 WEB_SITE="https://www.gnu.org/software/libtasn1/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libtasn1.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 SPLIT="libtasn1-dev"
17 compile_rules() {
18 # Package failed to build when optimized for size
19 export CFLAGS=${CFLAGS/-Os/-O2}
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install || return 1
28 make -C doc/reference install-data-local
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libtasn1) copy @std;;
34 *-dev) copy @dev;;
35 esac
36 }