wok view minidlna/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents d3556b8f5c3d
children 74fa090e7bcb
line source
1 # SliTaz package receipt.
3 PACKAGE="minidlna"
4 VERSION="1.3.3"
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"
18 CONFIG_FILES="/etc/minidlna.conf"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/minidlna/files/minidlna/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/minidlna/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/etc
44 cp -a $src/minidlna.conf $fs/etc
45 cook_copy_folders sbin
46 }