summaryrefslogtreecommitdiff
path: root/multilib/lib32-celt/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-02 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2012-01-02 23:14:48 +0000
commit48c96871761a4aad193d814e87ddb87c322e17d2 (patch)
tree60a798c3bbdef2ba8f51c6719e80b5552a9fb6d4 /multilib/lib32-celt/PKGBUILD
parent29f5aa692a3fa3ff3e743a47d1c57f1cc0341809 (diff)
Mon Jan 2 23:14:48 UTC 2012
Diffstat (limited to 'multilib/lib32-celt/PKGBUILD')
-rw-r--r--multilib/lib32-celt/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/multilib/lib32-celt/PKGBUILD b/multilib/lib32-celt/PKGBUILD
new file mode 100644
index 000000000..8c4124eb7
--- /dev/null
+++ b/multilib/lib32-celt/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: see .contrib
+
+_realname=celt
+pkgname=lib32-$_realname
+pkgver=0.11.1
+pkgrel=1
+pkgdesc='Low-latency audio communication codec (32 bit)'
+arch=('x86_64')
+url='http://www.celt-codec.org'
+license=('BSD')
+depends=('lib32-glibc' "$_realname=$pkgver")
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=("http://downloads.xiph.org/releases/$_realname/$_realname-$pkgver.tar.gz")
+md5sums=('94fe4acd241da8702c295bcd13a555e6')
+
+build() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ ./configure --prefix=/usr --libdir=/usr/lib32
+ make -C libcelt
+}
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
+
+ make DESTDIR="$pkgdir" install-pkgconfigDATA
+ make -C libcelt DESTDIR="$pkgdir" install
+
+ # remove unneeded stuff
+ rm -rf "$pkgdir/usr/include"
+}
+
+# vim:set ts=2 sw=2 et: