summaryrefslogtreecommitdiff
path: root/package/mt-daapd
diff options
context:
space:
mode:
Diffstat (limited to 'package/mt-daapd')
-rw-r--r--package/mt-daapd/Makefile14
-rw-r--r--package/mt-daapd/files/mt-daapd.conffiles (renamed from package/mt-daapd/ipkg/mt-daapd.conffiles)0
-rw-r--r--package/mt-daapd/files/mt-daapd.init4
-rw-r--r--package/mt-daapd/files/mt-daapd.postinst (renamed from package/mt-daapd/ipkg/mt-daapd.postinst)0
-rw-r--r--package/mt-daapd/ipkg/mt-daapd.control5
5 files changed, 10 insertions, 13 deletions
diff --git a/package/mt-daapd/Makefile b/package/mt-daapd/Makefile
index ce48d7356..8280a958d 100644
--- a/package/mt-daapd/Makefile
+++ b/package/mt-daapd/Makefile
@@ -9,12 +9,15 @@ PKG_NAME:= mt-daapd
PKG_VERSION:= 0.2.4
PKG_RELEASE:= 10
PKG_MD5SUM:= 2e1cdbe6b94ef153e915806f80a28dca
-
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
+PKG_DESCR:= a multi-threaded DAAP (Digital Audio Access Protocol) daemon
+PKG_SECTION:= net
+PKG_DEPENDS:= libgdbm libid3tag libpthread
+PKG_URL:= http://www.fireflymediaserver.org
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,MT_DAAPD,mt-daapd,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,MT_DAAPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
@@ -28,12 +31,9 @@ BUILD_STYLE:= auto
INSTALL_STYLE:= auto
post-install:
- ${INSTALL_DIR} ${IDIR_MT_DAAPD}/etc/init.d
- ${INSTALL_DIR} ${IDIR_MT_DAAPD}/usr/{share,sbin}
+ ${INSTALL_DIR} ${IDIR_MT_DAAPD}/etc ${IDIR_MT_DAAPD}/usr/{share,sbin}
${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.conf ${IDIR_MT_DAAPD}/etc/
${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.playlist ${IDIR_MT_DAAPD}/etc/
- ${INSTALL_BIN} ./files/mt-daapd.init \
- ${IDIR_MT_DAAPD}/etc/init.d/mt-daapd
${CP} ${WRKINST}/usr/share/mt-daapd ${IDIR_MT_DAAPD}/usr/share/
${INSTALL_BIN} ${WRKINST}/usr/sbin/mt-daapd ${IDIR_MT_DAAPD}/usr/sbin/
diff --git a/package/mt-daapd/ipkg/mt-daapd.conffiles b/package/mt-daapd/files/mt-daapd.conffiles
index 2e5ee2b4d..2e5ee2b4d 100644
--- a/package/mt-daapd/ipkg/mt-daapd.conffiles
+++ b/package/mt-daapd/files/mt-daapd.conffiles
diff --git a/package/mt-daapd/files/mt-daapd.init b/package/mt-daapd/files/mt-daapd.init
index ec2a947e6..84ab61d11 100644
--- a/package/mt-daapd/files/mt-daapd.init
+++ b/package/mt-daapd/files/mt-daapd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 75
+#PKG mt-daapd
+#INIT 75
+
. /etc/rc.conf
case $1 in
diff --git a/package/mt-daapd/ipkg/mt-daapd.postinst b/package/mt-daapd/files/mt-daapd.postinst
index 0059afb55..0059afb55 100644
--- a/package/mt-daapd/ipkg/mt-daapd.postinst
+++ b/package/mt-daapd/files/mt-daapd.postinst
diff --git a/package/mt-daapd/ipkg/mt-daapd.control b/package/mt-daapd/ipkg/mt-daapd.control
deleted file mode 100644
index 0f2846058..000000000
--- a/package/mt-daapd/ipkg/mt-daapd.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: mt-daapd
-Priority: optional
-Section: net
-Depends: libgdbm, libid3tag, libpthread
-Description: a multi-threaded DAAP (Digital Audio Access Protocol) daemon