libgpg-error: Fix dependencies.
This commit is contained in:
@@ -4,19 +4,19 @@ _realname=libgpg-error
|
||||
_mingw_suff=mingw-w64-${CARCH}
|
||||
pkgname="${_mingw_suff}-${_realname}"
|
||||
pkgver=1.12
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Support library for libgcrypt (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://www.gnupg.org"
|
||||
license=("LGPL")
|
||||
makedepends=("${_mingw_suff}-gcc")
|
||||
depends=("${_mingw_suff}-crt" "${_mingw_suff}-gettext" "${_mingw_suff}-winpthreads")
|
||||
depends=("${_mingw_suff}-gcc-libs" "${_mingw_suff}-gettext")
|
||||
groups=("${_mingw_suff}")
|
||||
options=('staticlibs' 'strip')
|
||||
source=("ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${pkgver}.tar.bz2"
|
||||
"01-mingw32-fix-potomo.mingw.patch")
|
||||
md5sums=('8f0eb41a344d19ac2aa9bd101dfb9ce6'
|
||||
'22eccdf0147d4e5e4e6900c506ea4444')
|
||||
'4865ce481ec9aa5efc0a4979f197a686')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/libgpg-error-$pkgver"
|
||||
@@ -30,8 +30,8 @@ build() {
|
||||
../libgpg-error-$pkgver/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--enable-static
|
||||
make
|
||||
}
|
||||
@@ -39,8 +39,4 @@ build() {
|
||||
package() {
|
||||
cd "${srcdir}/build-${CARCH}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
# rm "${pkgdir}${MINGW_PREFIX}"/bin/*.exe
|
||||
# strip --strip-unneeded "${pkgdir}${MINGW_PREFIX}"/bin/*.dll
|
||||
# strip -g "${pkgdir}${MINGW_PREFIX}"/lib/*.a
|
||||
rm -r "${pkgdir}${MINGW_PREFIX}/share"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user