wok view gnutls/receipt @ rev 10024

glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 18:19:46 2011 +0200 (2011-05-19)
parents e56d938302eb
children 5bbaef7b118d
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.10.5"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libgcrypt libgpg-error ncurses readline zlib gcc-lib-base libgnutls \
9 libtasn1"
10 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnu.org/software/gnutls/"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --disable-guile \
22 --with-zlib \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 # split libgnutls
35 rm -f $fs/usr/lib/libgnutls.so.*
36 }