void-packages/srcpkgs/minidlna/template

33 lines
1016 B
Bash

# Template file for 'minidlna'
pkgname=minidlna
version=1.1.5
revision=3
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() {
vlicense LICENCE.miniupnpd # This one is BSD. COPYING is GPL-2
vconf minidlna.conf
vman minidlna.conf.5
vman minidlnad.8
vsv minidlnad
}