1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= gmediaserver
9 PKG_HASH
:= 357030911bcce4ac9e47c2c9219b72e88705a8465899d4e0553bce540fb0fd12
10 PKG_DESCR
:= media server
11 PKG_SECTION
:= mm
/video
12 PKG_DEPENDS
:= id3lib libupnp libmagic magic
13 PKG_BUILDDEP
:= id3lib libupnp file
15 PKG_URL
:= http
://www.gnu.org
/software
/gmediaserver
16 PKG_SITES
:= http
://savannah.nongnu.org
/download
/gmediaserver
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
20 PKG_LIBC_DEPENDS
:= uclibc-ng glibc
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call PKG_template
,GMEDIASERVER
,gmediaserver
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 TARGET_CPPFLAGS
+= -D_GNU_SOURCE
-I
$(STAGING_TARGET_DIR
)/usr
/include/taglib
27 CONFIGURE_ENV
+= LIBS
=" -lixml -lthreadutil -lupnp -lz"
28 CONFIGURE_ARGS
+= --with-id3lib
="${STAGING_TARGET_DIR}/usr" \
29 --with-libupnp
="${STAGING_TARGET_DIR}/usr"
32 ${INSTALL_DIR} ${IDIR_GMEDIASERVER}/usr
/sbin
33 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/gmediaserver \
34 ${IDIR_GMEDIASERVER}/usr
/sbin
/
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk