diff options
Diffstat (limited to 'community/ccrtp/PKGBUILD')
-rw-r--r-- | community/ccrtp/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/ccrtp/PKGBUILD b/community/ccrtp/PKGBUILD new file mode 100644 index 000000000..19a66964b --- /dev/null +++ b/community/ccrtp/PKGBUILD @@ -0,0 +1,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 +} |