PKGBUILDs/extra/ccrtp/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
825 B
Bash

# $Id: PKGBUILD 44975 2009-07-05 23:14:10Z giovanni $
# Maintainer: Jeff Mickey <jeff@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=ccrtp
pkgver=1.7.0
pkgrel=3
pkgdesc="GNU ccRTP"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/ccrtp"
license=('GPL' 'custom')
depends=('commoncpp2' 'zlib' 'libxml2' 'libgcrypt')
options=('!libtool')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('eb86cd2ac06af27ea60b1a349122605c')
build() {
cd ${srcdir}/$pkgname-$pkgver
# arch64 fix from Mandriva
[ "$CARCH" == "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fpermissive"
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
install -D -m644 COPYING.addendum ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
rm -rf ${pkgdir}/usr/share/info/dir
}