wok view minidlna/receipt @ rev 25033

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:53 2022 +0100 (2022-05-20)
parents afae00265386
children ad0bc3efbf37
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|.*href="|"https://sourceforge.net|;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 }