void-packages/srcpkgs/minidlna/template
2017-05-18 16:45:21 +02:00

32 lines
1,016 B
Bash

# Template file for 'minidlna'
pkgname=minidlna
version=1.2.0
revision=1
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=8d34436580c4c44be25976d5e46bc5b71af69bf441c4492774eac001164c4433
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
}