libgnurx, lzo2: Fix dependencies. Cleanup PKGBUILD's
This commit is contained in:
@@ -4,16 +4,15 @@ _realname=libgnurx
|
||||
_mingw_suff=mingw-w64-${CARCH}
|
||||
pkgname="${_mingw_suff}-${_realname}"
|
||||
pkgver=2.5.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('any')
|
||||
pkgdesc="libgnurx (mingw-w64)"
|
||||
depends=("${_mingw_suff}-crt")
|
||||
makedepends=("${_mingw_suff}-gcc")
|
||||
options=('staticlibs')
|
||||
license=('LGPL')
|
||||
url="http://mingw.sourceforge.net/"
|
||||
source=("http://download.sourceforge.net/mingw/Other/UserContributed/regex/mingw-regex-${pkgver}/mingw-libgnurx-${pkgver}-src.tar.gz"
|
||||
"mingw-w64-libgnurx-honor-destdir.patch"
|
||||
"mingw-w64-libgnurx-honor-destdir.patch"
|
||||
"mingw32-libgnurx-Makefile.am"
|
||||
"mingw32-libgnurx-configure.ac")
|
||||
md5sums=('35c8fed3101ca1f253e9b6b1966661f6'
|
||||
@@ -51,7 +50,5 @@ package()
|
||||
make install DESTDIR="$pkgdir"
|
||||
cp -f ${pkgdir}${MINGW_PREFIX}/lib/libgnurx.dll.a ${pkgdir}${MINGW_PREFIX}/lib/libregex.dll.a
|
||||
cp -f ${pkgdir}${MINGW_PREFIX}/lib/libgnurx.a ${pkgdir}${MINGW_PREFIX}/lib/libregex.a
|
||||
#strip --strip-unneeded "${pkgdir}${MINGW_PREFIX}"/bin/*.dll
|
||||
#strip -g "$pkgdir"/usr/${_arch}/lib/*.a
|
||||
}
|
||||
|
||||
|
||||
@@ -4,13 +4,12 @@ _realname=lzo2
|
||||
_mingw_suff=mingw-w64-${CARCH}
|
||||
pkgname="${_mingw_suff}-${_realname}"
|
||||
pkgver=2.06
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Portable lossless data compression library (mingw-w64)"
|
||||
arch=(any)
|
||||
url="http://www.oberhumer.com/opensource/lzo"
|
||||
license=("GPL")
|
||||
makedepends=("${_mingw_suff}-gcc")
|
||||
depends=("${_mingw_suff}-crt")
|
||||
options=('staticlibs' 'strip')
|
||||
source=("$url/download/lzo-${pkgver}.tar.gz"
|
||||
"liblzo2-2.06-1.src.patch")
|
||||
@@ -28,19 +27,13 @@ build() {
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--enable-static \
|
||||
--enable-shared
|
||||
make
|
||||
#${_arch}-gcc -shared src/*.o -o src/liblzo2-0.dll -Xlinker --out-implib -Xlinker src/liblzo2.dll.a
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build-${CARCH}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
#install -Dm644 src/liblzo2-0.dll "${pkgdir}${MINGW_PREFIX}"/bin/liblzo2-0.dll
|
||||
#install -m644 src/liblzo2.dll.a "${pkgdir}${MINGW_PREFIX}"/lib/liblzo2.dll.a
|
||||
rm -r "${pkgdir}${MINGW_PREFIX}/share"
|
||||
#strip --strip-unneeded "${pkgdir}${MINGW_PREFIX}"/bin/*.dll
|
||||
#strip --strip-debug "${pkgdir}${MINGW_PREFIX}"/lib/*.a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user