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