1 ################################################################################
5 ################################################################################
7 MINIDLNA_VERSION
= 1.1.5
8 MINIDLNA_SITE
= http
://downloads.sourceforge.net
/project
/minidlna
/minidlna
/$(MINIDLNA_VERSION
)
9 MINIDLNA_LICENSE
= GPLv2
, BSD-3c
10 MINIDLNA_LICENSE_FILES
= COPYING LICENCE.miniupnpd
12 MINIDLNA_DEPENDENCIES
= \
13 $(if
$(BR2_NEEDS_GETTEXT_IF_LOCALE
),gettext
) host-gettext \
14 ffmpeg flac libvorbis libogg libid3tag libexif jpeg sqlite \
17 MINIDLNA_CONF_OPTS
= \
20 define MINIDLNA_INSTALL_CONF
21 $(INSTALL
) -D
-m
644 $(@D
)/minidlna.conf
$(TARGET_DIR
)/etc
/minidlna.conf
24 MINIDLNA_POST_INSTALL_TARGET_HOOKS
+= MINIDLNA_INSTALL_CONF
26 define MINIDLNA_INSTALL_INIT_SYSV
27 $(INSTALL
) -D
-m
0755 package
/minidlna
/S60minidlnad \
28 $(TARGET_DIR
)/etc
/init.d
/S60minidlnad
31 define MINIDLNA_INSTALL_INIT_SYSTEMD
32 $(INSTALL
) -D
-m
0755 package
/minidlna
/minidlnad.service \
33 $(TARGET_DIR
)/usr
/lib
/systemd
/system
/minidlnad.service
35 mkdir
-p
$(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
37 ln
-fs ..
/..
/..
/..
/usr
/lib
/systemd
/system
/minidlnad.service \
38 $(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
/minidlnad.service
41 $(eval
$(autotools-package
))