blob: 19a66964bad57d27daf37343f3ba5ba6e35fec86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 33232 2010-11-23 12:15:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor:
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=ccrtp
pkgver=1.7.1
pkgrel=1
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=('9f5d34a18f2c1c779d2e5818cc4987f8')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# arch64 fix from Mandriva
[ "$CARCH" == "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fpermissive"
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -D -m644 COPYING.addendum ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
rm -rf ${pkgdir}/usr/share/info/dir
}
|