wok view minidlna/receipt @ rev 25606

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 11:40:29 2023 +0000 (17 months ago)
parents 2d4208bebf51
children 6acd28d149b8
line source
1 # SliTaz package receipt.
3 PACKAGE="minidlna"
4 VERSION="1.3.0"
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 }