libgpg-error: converted to subpkgs, new deps style.

--HG--
extra : convert_revision : 27d6188be08a08642e0c4f60f93df2270fb9cc26
This commit is contained in:
Juan RP 2009-03-21 00:41:34 +01:00
parent c1eac344fd
commit 2732ac379f
4 changed files with 36 additions and 6 deletions

View File

@ -0,0 +1 @@
libgpg-error

View File

@ -0,0 +1,2 @@
abi_depends=1.6
api_depends=${abi_depends}

View File

@ -0,0 +1,20 @@
# Template file for 'libgpg-error-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libgpg-error
do_install()
{
mkdir -p ${DESTDIR}/usr/bin
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/bin/gpg-error-config ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
}

View File

@ -1,14 +1,21 @@
# Template build file for 'libgpg-error'.
pkgname=libgpg-error
sourcepkg=$pkgname
version=1.6
distfiles="
ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
distfiles="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
build_style=gnu_configure
make_cmd="$XBPS_MASTERDIR/bin/gmake"
short_desc="Definitions of common error values for all GnuPG components"
short_desc="Library for error values used by GnuPG component"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5015a9e0a9c59fe5e9a45d203c324af3736c5d68
checksum=aa7df632134dfd3d4e65f5a98edd6bb9a97b498db911f4287bbaeb5ae83a1bad
long_desc="
libgpg-error is a library that defines common error values for all
GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent,
GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent,
libgcrypt, pinentry, SmartCard Daemon and possibly more in the future."
subpackages="devel"
Add_dependency full glibc
post_install()
{
rm -rf ${DESTDIR}/usr/share/common-lisp
}