wok-next view libtasn1/receipt @ rev 20151
uclibc-cross-compiler-x86_64: receipt v2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 14:57:04 2017 +0100 (2017-11-01) |
parents | 4048d48a47c1 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtasn1"
4 VERSION="4.9"
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Package failed to build when optimized for size
19 export CFLAGS=${CFLAGS/-Os/-O2}
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make && make install
26 make -C doc/reference install-data-local
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy bin/ *.so*
33 }