1
0

Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.18
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b45aab5b60382ec3ada7e71cb1356b1d
  8. PKG_DESCR:= DAAPD server
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libunistring zlib libconfuse sqlite ffmpeg 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_ARCH_DEPENDS:= !ppc
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,FORKED_DAAPD,forked-daapd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. #TARGET_LDFLAGS+= -lgcc
  21. forked-daapd-install:
  22. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/etc
  23. $(CP) ./files/forked-daapd.conf \
  24. $(IDIR_FORKED_DAAPD)/etc
  25. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/usr/lib/forked-daapd
  26. $(CP) $(WRKINST)/usr/lib/forked-daapd/*.so \
  27. $(IDIR_FORKED_DAAPD)/usr/lib/forked-daapd
  28. $(INSTALL_DIR) $(IDIR_FORKED_DAAPD)/usr/sbin
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/forked-daapd \
  30. $(IDIR_FORKED_DAAPD)/usr/sbin
  31. include ${TOPDIR}/mk/pkg-bottom.mk