diff options
author | root <root@rshg054.dnsready.net> | 2012-05-18 00:02:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-18 00:02:20 +0000 |
commit | 2f104ecf78d6a93ba8d67273b76364cb1365a6cf (patch) | |
tree | c93787a9c08d8cb41a424644dc09fc529dfd63f1 /extra/ccrtp | |
parent | f675762300c4ee2717e029975bb3f94312245276 (diff) |
Fri May 18 00:02:20 UTC 2012
Diffstat (limited to 'extra/ccrtp')
-rw-r--r-- | extra/ccrtp/PKGBUILD | 33 | ||||
-rw-r--r-- | extra/ccrtp/ccrtp.install | 22 |
2 files changed, 55 insertions, 0 deletions
diff --git a/extra/ccrtp/PKGBUILD b/extra/ccrtp/PKGBUILD new file mode 100644 index 000000000..5901e29ed --- /dev/null +++ b/extra/ccrtp/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 159161 2012-05-16 20:49:22Z andrea $ +# Maintainer: +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> +# Contributor: Alexander Rødseth <rodseth@gmail.com> + +pkgname=ccrtp +pkgver=2.0.3 +pkgrel=2 +pkgdesc="An implementation of RTP, the real-time transport protocol from the IETF" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/ccrtp/" +license=('GPL' 'custom') +depends=('ucommon' 'libgcrypt') +options=('!libtool') +install=$pkgname.install +source=("ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}) +md5sums=('0d57da1b8e212fb634b8951067fbc1e0' + '127fa3b293f7a7c3be1d2891c4544453') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 COPYING.addendum "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/extra/ccrtp/ccrtp.install b/extra/ccrtp/ccrtp.install new file mode 100644 index 000000000..51b971c5c --- /dev/null +++ b/extra/ccrtp/ccrtp.install @@ -0,0 +1,22 @@ +infodir=usr/share/info +filelist=(ccrtp.info) + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: |