wok annotate minidlna/receipt @ rev 24118
Add checker_online
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 04 14:07:53 2021 +0000 (2021-10-04) |
parents | cd2def637347 |
children | afae00265386 |
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@17469 | 19 # Rules to configure and make the package. |
pascal@17469 | 20 compile_rules() |
pascal@17469 | 21 { |
Hans-G?nter@21442 | 22 ./configure \ |
Hans-G?nter@21442 | 23 --prefix=/usr \ |
Hans-G?nter@21442 | 24 --sysconfdir=/etc \ |
pascal@17469 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21442 | 26 make -j 1 && |
pascal@17469 | 27 make DESTDIR=$DESTDIR install |
pascal@17469 | 28 } |
pascal@17469 | 29 |
pascal@17469 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17469 | 31 genpkg_rules() |
pascal@17469 | 32 { |
pascal@17470 | 33 mkdir -p $fs/usr $fs/etc |
Hans-G?nter@21442 | 34 |
Hans-G?nter@21442 | 35 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21442 | 36 cp -a $src/minidlna.conf $fs/etc |
pascal@17469 | 37 } |