summaryrefslogtreecommitdiff
path: root/community/libdlna/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libdlna/PKGBUILD')
-rw-r--r--community/libdlna/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/libdlna/PKGBUILD b/community/libdlna/PKGBUILD
new file mode 100644
index 000000000..e3bfb94d4
--- /dev/null
+++ b/community/libdlna/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 7626 2010-01-08 23:34:07Z dgriffiths $
+# Maintainer: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
+# Contributor: kastor <kastor@fobos.org.ar>
+pkgname=libdlna
+pkgver=0.2.3
+pkgrel=8
+pkgdesc="An open-source implementation of DLNA (Digital Living Network Alliance) standards "
+url="http://libdlna.geexbox.org"
+license=("LGPL")
+arch=('i686' 'x86_64')
+options=('!libtool')
+makedepends=('ctags')
+depends=('glibc' 'ffmpeg')
+source=("http://libdlna.geexbox.org/releases/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('2c974f95b711e5fd07f78fc4ebfcca66')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' ./configure src/profiles.h src/*.c || return 1
+ sed -i 's|ffmpeg/avcodec.h|libavcodec/avcodec.h|' ./configure src/profiles.h src/*.c || return 1
+ ./configure --prefix=/usr --includedir=/usr/include/libavformat || return 1
+ make || return 1
+ make INSTALL=/bin/install DESTDIR=${pkgdir} install
+}