wok-4.x view libgpg-error/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
parents fe790bbdae52
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="libgpg-error"
4 VERSION="1.9"
5 CATEGORY="security"
6 SHORT_DESC="Commons error messages for GnuPG."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnupg.org/related_software/libgpg-error/"
11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
28 cp -a $_pkg/usr/bin/gpg-error $fs/usr/bin
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/share/common-lisp $fs/usr/share
32 strip -s $fs/usr/bin/gpg-error
33 strip -s $fs/usr/lib/*
34 }