wok-current view libgpg-error/receipt @ rev 2531
fix vim: add post_remove command to restore busybox vi applet
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Mar 18 12:35:58 2009 +0100 (2009-03-18) |
parents | b320922a9117 |
children | fe790bbdae52 |
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@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 }