blob: a5d6be8f53e2920a75e5b7ed54f0f5fb0723284a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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' 'mips64el')
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
}
|