wok-next annotate libgpg-error/receipt @ rev 12646
Up libmtp (1.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 23:16:55 2012 +0200 (2012-04-29) |
parents | e5ae411e1d8c |
children | 4904e3d374a9 |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="libgpg-error" |
slaxemulator@12375 | 4 VERSION="1.10" |
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 |
slaxemulator@12375 | 17 ./configure \ |
slaxemulator@12375 | 18 $CONFIGURE_ARGS && |
slaxemulator@12375 | 19 make && |
slaxemulator@12375 | 20 make DESTDIR=$DESTDIR 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 |