Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= forked-daapd
  5. PKG_VERSION:= 0.19
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 0d15628599c7a316f6db33815b877a3d9a2ceaebad66c39dfb8bf6a2d1469cb9
  8. PKG_DESCR:= daapd server
  9. PKG_SECTION:= mm/audio
  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://www.openadk.org/distfiles/
  16. PKG_CFLINE_FORKED_DAAPD:= select ADK_KERNEL_INOTIFY_USER
  17. PKG_ARCH_DEPENDS:= !ppc
  18. # gperf problem
  19. PKG_HOST_DEPENDS:= !freebsd
  20. include $(ADK_TOPDIR)/mk/package.mk
  21. $(eval $(call PKG_template,FORKED_DAAPD,forked-daapd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. TARGET_LDFLAGS+= -levent
  23. forked-daapd-install:
  24. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/etc
  25. $(CP) ./files/forked-daapd.conf \
  26. $(IDIR_FORKED_DAAPD)/etc
  27. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/usr/lib/forked-daapd
  28. $(CP) $(WRKINST)/usr/lib/forked-daapd/*.so \
  29. $(IDIR_FORKED_DAAPD)/usr/lib/forked-daapd
  30. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/usr/sbin
  31. $(INSTALL_BIN) $(WRKINST)/usr/sbin/forked-daapd \
  32. $(IDIR_FORKED_DAAPD)/usr/sbin
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk