12345678910111213141516171819202122232425262728293031323334353637383940 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= mt-daapd
- PKG_VERSION:= 0.2.4.1
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 8117141e8a88bfab54fe98b6bbd5cb3a
- PKG_DESCR:= a multi-threaded DAAP daemon
- PKG_SECTION:= multimedia
- PKG_DEPENDS:= libgdbm libid3tag libpthread
- PKG_BUILDDEP+= gdbm libid3tag
- PKG_URL:= http://www.fireflymediaserver.org
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,MT_DAAPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- # uClibc setpgrp does not take arguments
- CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
- CONFIGURE_ARGS+= --enable-mdns \
- --disable-howl \
- --with-id3tag="${STAGING_DIR}/usr" \
- --with-gdbm-includes="${STAGING_DIR}/usr/include" \
- --with-gdbm-libs="${STAGING_DIR}/usr/lib" \
- --without-static-libs
- post-install:
- ${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/
- ${CP} ${WRKINST}/usr/share/mt-daapd ${IDIR_MT_DAAPD}/usr/share/
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/mt-daapd \
- ${IDIR_MT_DAAPD}/usr/sbin/
- include ${TOPDIR}/mk/pkg-bottom.mk
|