diff options
Diffstat (limited to 'unmaintained/libdlna/APKBUILD')
-rw-r--r-- | unmaintained/libdlna/APKBUILD | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/unmaintained/libdlna/APKBUILD b/unmaintained/libdlna/APKBUILD deleted file mode 100644 index bc0a22da1e..0000000000 --- a/unmaintained/libdlna/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Ćukasz Jendrysik <scadu@yandex.com> -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=libdlna -pkgver=0.2.4 -pkgrel=2 -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" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - 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 - -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --includedir=/usr/include/libavformat \ - --with-ffmpeg-dir=/usr/lib \ - --disable-static - make lib || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="64d7de57aff5a729f2434fc5e69b4ffc libdlna-0.2.4.tar.bz2" |