Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=xmlrpc-c
- pkgver=1841
- pkgrel=1
- pkgdesc='This library provides a modular implementation of XML-RPC for C and C++'
- arch=('i686' 'x86_64')
- url='http://xmlrpc-c.sourceforge.net/'
- license=('custom')
- depends=('curl' 'libxml2')
- makedepends=('libtool')
- options=('!makeflags' '!libtool')
- source=()
- md5sums=()
- _svntrunk="http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced"
- _svnmod="xmlrpc-c"
- build() {
- [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
- cd $srcdir/
- msg "Connecting to $_svntrunk SVN server...."
- if [ -d $_svnmod/.svn ]; then
- (cd $_svnmod && svn up -r $pkgver)
- else
- svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
- fi
- msg "SVN checkout done or server timeout"
- msg "Starting make..."
- cp -r $_svnmod $_svnmod-build
- cd $_svnmod-build
- ./configure --prefix=/usr \
- --enable-libxml2-backend \
- --disable-cgi-server \
- --disable-abyss-server \
- --disable-libwww-client \
- --disable-wininet-client
- make CFLAGS_PERSONAL="${CFLAGS}" || return 1
- make DESTDIR=$pkgdir install
- install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement