PKGBUILDs/extra/ccrtp/PKGBUILD

29 lines
761 B
Bash
Raw Normal View History

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