# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Kessia 'even' Pinheiro # Contributor: kastor pkgname=libdlna pkgver=0.2.3 pkgrel=7 pkgdesc="An open-source implementation of DLNA (Digital Living Network Alliance) standards " url="http://libdlna.geekbox.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 }