2008-10-13 05:33:25 +02:00
|
|
|
# Template build file for 'libgpg-error'.
|
|
|
|
pkgname=libgpg-error
|
2014-05-05 12:15:29 +02:00
|
|
|
version=1.13
|
2013-07-01 21:24:02 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-03-21 00:41:34 +01:00
|
|
|
short_desc="Library for error values used by GnuPG component"
|
2008-10-13 05:33:25 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-13 08:53:20 +01:00
|
|
|
homepage="http://www.gnupg.org"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
|
2014-05-05 12:15:29 +02:00
|
|
|
checksum=f8aba9038d8a46cefe6a6c4a7e4527144c029eb4e3ca1ed27011b962102c9b0a
|
2009-03-21 00:41:34 +01:00
|
|
|
|
2014-05-05 12:46:15 +02:00
|
|
|
post_configure() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
cp ${FILESDIR}/lock-obj-pub.arm.h \
|
|
|
|
src/syscfg/lock-obj-pub.${XBPS_CROSS_TRIPLET#*-}.h
|
|
|
|
fi
|
|
|
|
}
|
2013-02-13 08:53:20 +01:00
|
|
|
post_install() {
|
2009-03-21 00:41:34 +01:00
|
|
|
rm -rf ${DESTDIR}/usr/share/common-lisp
|
|
|
|
}
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
libgpg-error-devel_package() {
|
2014-05-05 12:15:29 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-07-01 21:24:02 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/gpg-error-config
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/aclocal
|
2013-07-01 21:24:02 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|