mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
24 lines
956 B
Bash
24 lines
956 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
|
|
# Contributor: kastor <kastor@fobos.org.ar>
|
|
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
|
|
}
|