wok-current annotate libgpg-error/receipt @ rev 7914

Fixed shell-fm to backup source and to use the right version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 15:26:35 2011 +0000 (2011-01-09)
parents fe790bbdae52
children 02bbaa9d12ba
rev   line source
erjo@180 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="libgpg-error"
slaxemulator@6177 4 VERSION="1.9"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="Commons error messages for GnuPG."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@180 8 DEPENDS=""
erjo@180 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@180 10 WEB_SITE="http://www.gnupg.org/related_software/libgpg-error/"
erjo@180 11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$TARBALL"
erjo@180 12
erjo@180 13 # Rules to configure and make the package.
erjo@180 14 compile_rules()
erjo@180 15 {
erjo@180 16 cd $src
erjo@180 17 ./configure --prefix=/usr --infodir=/usr/share/info \
erjo@180 18 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@180 19 make
erjo@180 20 make DESTDIR=$PWD/_pkg install
erjo@180 21 }
erjo@180 22
erjo@180 23 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 24 genpkg_rules()
erjo@180 25 {
erjo@180 26 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
erjo@180 27
erjo@180 28 cp -a $_pkg/usr/bin/gpg-error $fs/usr/bin
erjo@180 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@180 30 cp -a $_pkg/usr/share/common-lisp $fs/usr/share
erjo@180 31
erjo@180 32 strip -s $fs/usr/bin/gpg-error
erjo@180 33 strip -s $fs/usr/lib/*
erjo@180 34 }
erjo@180 35