wok-stable view libgpg-error/receipt @ rev 355

Add: xorg-imake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 07 12:41:31 2008 +0000 (2008-03-07)
parents
children a075ff895254
line source
1 # SliTaz package receipt.
3 PACKAGE="libgpg-error"
4 VERSION="1.6"
5 CATEGORY="security"
6 SHORT_DESC="Commons error messages for GnuPG."
7 MAINTAINER="Erjo <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 }