mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Arch contributor: https://projects.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/gsoap
|
|
|
|
pkgname=gsoap
|
|
pkgver=2.8.34
|
|
pkgrel=1
|
|
pkgdesc="Offers an XML language binding to ease the development of SOAP/XML Web services in C and C/C++"
|
|
url="http://www.cs.fsu.edu/~engelen/soap.html"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL' 'custom')
|
|
depends=('openssl' 'zlib' 'gcc-libs')
|
|
makedepends=('autoconf' 'automake')
|
|
options=('staticlibs')
|
|
source=(http://prdownloads.sourceforge.net/gsoap2/${pkgname}_${pkgver}.zip
|
|
LICENSE)
|
|
md5sums=('abc4cd7a3b3c042cf2eeb7c0d791bad5'
|
|
'27aaa3f5166db94d44044c11a7b2c37b')
|
|
|
|
build() {
|
|
cd $srcdir/gsoap-2.8
|
|
# needed for programs which use gsoap and have -fPIC enabled
|
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353724
|
|
export CFLAGS+=" -fPIC"
|
|
export CXXFLAGS+=" -fPIC"
|
|
./configure --prefix=/usr --enable-openssl
|
|
make -j1
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/gsoap-2.8
|
|
make DESTDIR=$pkgdir install
|
|
mkdir -p $pkgdir/usr/share/gsoap/import
|
|
mkdir -p $pkgdir/usr/share/gsoap/WS
|
|
cp -R gsoap/import $pkgdir/usr/share/gsoap/
|
|
cp -R gsoap/WS $pkgdir/usr/share/gsoap/
|
|
install -D ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|