Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alesar1:mingw-w64
mingw-w64-expat
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package mingw-w64-expat
pkgname=mingw-w64-expat pkgver=2.6.2 pkgrel=1 pkgdesc="An XML parser library (mingw-w64)" arch=(any) url="http://expat.sourceforge.net" license=("custom") makedepends=(mingw-w64-configure) depends=(mingw-w64-crt) options=(!strip !buildflags staticlibs) source=("http://downloads.sourceforge.net/expat/expat-${pkgver}.tar.bz2") sha512sums=('15811413e92a632272188781cc3f2a9e52ed62f6edfad9b2eeeca0946e53132b6c9ca6dc460eda766d6a4e68e5920128335d705f9556b5aa3f77593658780470') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" build() { cd "${srcdir}/expat-${pkgver}" for _arch in ${_architectures}; do mkdir -p build-${_arch} && pushd build-${_arch} ${_arch}-configure --without-docbook --without-examples --without-tests --without-xmlwf .. make popd done } package() { for _arch in ${_architectures}; do cd "${srcdir}/expat-${pkgver}/build-${_arch}" make DESTDIR="$pkgdir" install ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a rm -r "$pkgdir/usr/${_arch}/share" done }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor