diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2011-04-12 14:03:21 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2011-04-12 14:06:27 +0000 |
commit | a7a3245c6ed6653beb1d6ba3f4a773e7fe852931 (patch) | |
tree | ae70742beb47f63a2cd83d61fc9eb7cf3f42ac90 /testing/libdlna | |
parent | f3f358961a18ed1ca38f9ed69468c538fdf3078e (diff) | |
download | aports-a7a3245c6ed6653beb1d6ba3f4a773e7fe852931.tar.bz2 aports-a7a3245c6ed6653beb1d6ba3f4a773e7fe852931.tar.xz |
testing/libdlna: new aport - An OS implementation of Digital Living Network Alliance standards
Diffstat (limited to 'testing/libdlna')
-rw-r--r-- | testing/libdlna/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libdlna/APKBUILD b/testing/libdlna/APKBUILD new file mode 100644 index 0000000000..1f6fa2bb06 --- /dev/null +++ b/testing/libdlna/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=libdlna +pkgver=0.2.3 +pkgrel=0 +pkgdesc="An open-source implementation of DLNA (Digital Living Network Alliance) standards" +url="http://libdlna.geexbox.org" +arch="all" +license="LGPL" +depends="ctags" +depends_dev="ffmpeg-dev" +makedepends="$depends_dev" +subpackages="$pkgname-dev" +source="http://libdlna.geexbox.org/releases/$pkgname-$pkgver.tar.bz2 + Makefile.patched" +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + sed -i -e 's/cat -n/cat/' configure + 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 \ + --with-ffmpeg-dir=/usr/lib \ + --disable-static + cp "$srcdir"/Makefile.patched Makefile + make || return 1 +} +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="2c974f95b711e5fd07f78fc4ebfcca66 libdlna-0.2.3.tar.bz2 +5ba58c2f91079f73d80837974259d2ad Makefile.patched" |