wok view minidlna/receipt @ rev 24799
updated libical and libical-dev (3.0.8 -> 3.0.14)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 17:34:22 2022 +0100 (2022-03-21) |
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 }