wok-6.x view minidlna/receipt @ rev 24895
libgpod: libplist 2.x support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 08 11:37:28 2022 +0000 (2022-04-08) |
parents | d9b6a0ef7bb5 |
children | fa6b75f08512 |
line source
1 # SliTaz package receipt.
3 PACKAGE="minidlna"
4 VERSION="1.2.1"
5 CATEGORY="network"
6 SHORT_DESC="A simple media server fully compliant with DLNA/UPnP-AV clients."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/minidlna/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="ffmpeg flac jpeg libexif libid3tag libogg libsqlite libvorbis"
15 BUILD_DEPENDS="ffmpeg-dev flac-dev gettext jpeg-dev libav-dev libexif-dev \
16 libid3tag-dev libogg-dev libvorbis-dev sqlite-dev"
17 CONFIG_FILES="/etc/minidlna.conf"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/minidlna/files/minidlna/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/minidlna/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr $fs/etc
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $src/minidlna.conf $fs/etc
45 }