Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= forked-daapd
  5. PKG_VERSION:= 0.19
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 53e6f1d6683e3275e7c7698ec923a97e
  8. PKG_DESCR:= DAAPD server
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libunistring zlib libconfuse sqlite libffmpeg libgcrypt
  11. PKG_DEPENDS+= libavahi libmxml libevent libavl libantlr3c alsa-lib
  12. PKG_DEPENDS+= libsqlite libintl dbus
  13. PKG_BUILDDEP:= libunistring zlib confuse avahi sqlite ffmpeg dbus
  14. PKG_BUILDDEP+= mxml libevent libavl libantlr3c alsa-lib libgcrypt
  15. PKG_SITES:= http://alioth.debian.org/~jblache/forked-daapd/
  16. PKG_CFLINE_FORKED_DAAPD:= select ADK_KERNEL_INOTIFY_USER@
  17. PKG_CFLINE_FORKED_DAAPD+= depends on ADK_BROKEN@
  18. PKG_ARCH_DEPENDS:= !ppc
  19. # gperf problem
  20. PKG_HOST_DEPENDS:= !freebsd
  21. include $(TOPDIR)/mk/package.mk
  22. $(eval $(call PKG_template,FORKED_DAAPD,forked-daapd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. TARGET_LDFLAGS+= -levent
  24. forked-daapd-install:
  25. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/etc
  26. $(CP) ./files/forked-daapd.conf \
  27. $(IDIR_FORKED_DAAPD)/etc
  28. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/usr/lib/forked-daapd
  29. $(CP) $(WRKINST)/usr/lib/forked-daapd/*.so \
  30. $(IDIR_FORKED_DAAPD)/usr/lib/forked-daapd
  31. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/usr/sbin
  32. $(INSTALL_BIN) $(WRKINST)/usr/sbin/forked-daapd \
  33. $(IDIR_FORKED_DAAPD)/usr/sbin
  34. include ${TOPDIR}/mk/pkg-bottom.mk