include $(TOPDIR)/rules.mk
PKG_NAME:=mt-daapd
-PKG_VERSION:=0.2.1.1
+PKG_VERSION:=0.2.4
PKG_RELEASE:=1
-PKG_MD5SUM:=87356d2750ad82388a58d901aa566465
+PKG_MD5SUM:=2e1cdbe6b94ef153e915806f80a28dca
PKG_SOURCE_URL:=@SF/mt-daapd
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/include -L$(STAGING_DIR)/usr/lib" \
+ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_func_setpgrp_void=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--disable-static \
--enable-mdns \
--enable-howl \
+ --with-id3tag="$(STAGING_DIR)/usr" \
+ --with-gdbm-includes="$(STAGING_DIR)/usr/include" \
+ --with-gdbm-libs="$(STAGING_DIR)/usr/lib" \
--with-howl-includes="$(STAGING_DIR)/usr/include/howl" \
+ --with-howl-libs="$(STAGING_DIR)/usr/lib" \
--without-static-libs \
)
touch $@
install -m0755 -d $(IDIR_MT_DAAPD)/etc/init.d
install -m0755 ./files/mt-daapd.init $(IDIR_MT_DAAPD)/etc/init.d/mt-daapd
install -m0755 -d $(IDIR_MT_DAAPD)/usr/share
- cp -fpR $(PKG_INSTALL_DIR)/usr/share/mt-daapd $(IDIR_MT_DAAPD)/usr/share/
+ $(CP) $(PKG_INSTALL_DIR)/usr/share/mt-daapd $(IDIR_MT_DAAPD)/usr/share/
install -m0755 -d $(IDIR_MT_DAAPD)/usr/sbin
- cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/mt-daapd $(IDIR_MT_DAAPD)/usr/sbin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/mt-daapd $(IDIR_MT_DAAPD)/usr/sbin/
$(RSTRIP) $(IDIR_MT_DAAPD)
$(IPKG_BUILD) $(IDIR_MT_DAAPD) $(PACKAGE_DIR)