diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-21 16:09:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-21 16:09:24 +0000 |
commit | 5f3b5d90a7d1001486d6cc489d3902b4108cf4d4 (patch) | |
tree | a4dba7bed01cf6523f514abc20869da6584fe233 /testing | |
parent | 1d10863469fcb796b2785b5c2ed463d18647e642 (diff) | |
download | aports-5f3b5d90a7d1001486d6cc489d3902b4108cf4d4.tar.bz2 aports-5f3b5d90a7d1001486d6cc489d3902b4108cf4d4.tar.xz |
testing/minidlna: upgrade to 1.1.0
Diffstat (limited to 'testing')
-rw-r--r-- | testing/minidlna/APKBUILD | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/testing/minidlna/APKBUILD b/testing/minidlna/APKBUILD index 2479c8cf0b..8223e7e5fc 100644 --- a/testing/minidlna/APKBUILD +++ b/testing/minidlna/APKBUILD @@ -1,21 +1,19 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=minidlna -pkgver=1.0.25 -pkgrel=1 +pkgver=1.1.0 +pkgrel=0 pkgdesc="A small dlna server" url="http://sourceforge.net/projects/minidlna/" arch="all" license="GPL" depends= depends_dev="libvorbis-dev libogg-dev libid3tag-dev libexif-dev jpeg-dev - sqlite-dev ffmpeg-dev flac-dev" + sqlite-dev ffmpeg-dev flac-dev libiconv-dev" makedepends="$depends_dev" install="minidlna.pre-install" subpackages="" -source="http://downloads.sourceforge.net/minidlna/${pkgname}_${pkgver}_src.tar.gz - ffmpeg.patch - makefile.patch +source="http://downloads.sourceforge.net/project/minidlna/minidlna/$pkgver/minidlna-$pkgver.tar.gz $pkgname.initd $pkgname.confd" @@ -29,24 +27,31 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - # fix for busybox install - sed -i 's/--mode=0644/-m0644/g' Makefile || return 1 } build() { cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 make || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install install-conf || return 1 + make DESTDIR="$pkgdir" install || return 1 install -m755 -D "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname" install -m644 -D "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname" } -md5sums="d966256baf2f9b068b9de871ab5dade5 minidlna_1.0.25_src.tar.gz -a7f73ca82e3ad1e5c4dae9900680bbbd ffmpeg.patch -0eae51746bf6d0e85906bf2507200d10 makefile.patch +md5sums="26484a84af3fceafdee26595aae097f7 minidlna-1.1.0.tar.gz dd648eaeb559a6608523dc19cd849f54 minidlna.initd 59d14c1bf3cd637138bfa58db7255d78 minidlna.confd" +sha256sums="c2ef2ebe4311d08a60a87ec0c86fbe5e7f4fd25b947841f1d71b0508c60a90e2 minidlna-1.1.0.tar.gz +3b15cbc67174e84ead68bc51e859ff9efd52b3e6d4e3d6dc2d1a4bdd701d34fb minidlna.initd +67603d65c6bd3918255f050cb5cfd6fc1373b024bca1ce728f03491a90d79e19 minidlna.confd" +sha512sums="9240d857fc3927c06183c04c4d657c1b2b0596f63dbc549f331b52032698349e82244870f2ebf6f8bc8bf0ff5f2ff88df69b53d280f5e5f9b618a5de58ac6f57 minidlna-1.1.0.tar.gz +2fefc230dcc72ed445392d178ba5952cfa91eab6ee2d73e3d8c2b2f283289f89f6444a6d178e7f67494016b0d8c732a0e4ff99e58c3a4e084ef77ad3b5231265 minidlna.initd +e209848af0d79069ac989ad61d3be610b4c0c2783a207a50463a25ec3811b04d1da3a2acde54749878bec44e1567874ede827b978d5472c00f6a855663e5cbf8 minidlna.confd" |