PKGBUILDs/extra/ccrtp/PKGBUILD
2009-10-23 21:14:54 -05:00

28 lines
761 B
Bash

# Maintainer: Jeff Mickey <jeff@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=ccrtp
pkgver=1.7.0
pkgrel=3
pkgdesc="GNU ccRTP"
arch=('arm')
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
}