void-packages/srcpkgs/minidlna/template
Peter Bui 609a23e105 minidlna: use -S instead of -d, redirect stderr to stdout
1. -S runs minidlnad in the foreground without excessing logging (-d)
2. Redirecting stderr to stdout allows users to log output via svlogd
2016-01-10 00:38:28 -05:00

31 lines
952 B
Bash

# Template file for 'minidlna'
pkgname=minidlna
version=1.1.5
revision=2
build_style=gnu-configure
configure_args="
--sbindir=/usr/bin
--with-db-path=/var/db/minidlna
--with-os-url=http://www.voidlinux.eu"
system_accounts="minidlna"
minidlna_homedir="/var/lib/minidlna"
conf_files="/etc/minidlna.conf"
make_dirs="
/var/lib/minidlna 0750 minidlna minidlna
/var/log/minidlna 0750 minidlna minidlna"
hostmakedepends="pkg-config"
makedepends="ffmpeg-devel libjpeg-turbo-devel sqlite-devel libexif-devel
libid3tag-devel libvorbis-devel libflac-devel"
short_desc="DLNA/UPnP-AV compliant media server"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="BSD, GPL-2"
homepage="http://minidlna.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8477ad0416bb2af5cd8da6dde6c07ffe1a413492b7fe40a362bc8587be15ab9b
post_install() {
vconf minidlna.conf
vman minidlna.conf.5
vman minidlnad.8
vsv minidlnad
}