wok-current diff djmount/receipt @ rev 23799

created recipes for xcb-util-xrm and xcb-util-xrm-dev
author Hans-G?nter Theisgen
date Sun May 24 07:04:55 2020 +0100 (2020-05-24)
parents 1762c0e02418
children 640a2eba2511
line diff
     1.1 --- a/djmount/receipt	Fri Jun 07 16:30:45 2019 +0100
     1.2 +++ b/djmount/receipt	Sun May 24 07:04:55 2020 +0100
     1.3 @@ -3,24 +3,38 @@
     1.4  PACKAGE="djmount"
     1.5  VERSION="0.71"
     1.6  CATEGORY="multimedia"
     1.7 +TAGS="upnp"
     1.8  SHORT_DESC="Mount uPnP mediaservers content as a Linux filesystem."
     1.9  MAINTAINER="slitaz@kacper.se"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="http://djmount.sourceforge.net"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://djmount.sourceforge.net"
    1.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 -TAGS="upnp"
    1.17  
    1.18  DEPENDS="fuse readline"
    1.19 -BUILD_DEPENDS="automake fuse-dev libupnp libupnp-dev readline-dev"
    1.20 +BUILD_DEPENDS="automake bash fuse-dev readline-dev"	# libupnp libupnp-dev
    1.21 +							# included in source archive
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h
    1.27 +#	sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' \
    1.28 +#		djmount/upnp_util.h
    1.29  
    1.30 -	./configure				\
    1.31 -		LDFLAGS="-lupnp"		\
    1.32 +	# to satisfy #include <upnp/....h>
    1.33 +	ln -s $src/libupnp/ixml/inc		libupnp/ixml/upnp
    1.34 +	ln -s $src/libupnp/upnp/inc		libupnp/upnp/upnp
    1.35 +	ln -s $src/libupnp/threadutil/inc	libupnp/threadutil/upnp
    1.36 +
    1.37 +	ln -s $src/libupnp/ixml/inc/ixml.h	libupnp/upnp/ixml.h
    1.38 +	ln -s $src/libupnp/threadutil/inc/ithread.h djmount/ithread.h
    1.39 +
    1.40 +	export	LIBUPNP_CFLAGS="-I$src/libupnp/threadutil \
    1.41 +			-I$src/libupnp/upnp -I$src/libupnp/ixml"
    1.42 +
    1.43 +	./configure 				\
    1.44 +		CONFIG_SHELL=/bin/bash		\
    1.45  		--prefix=/usr			\
    1.46  		--infodir=/usr/share/info	\
    1.47  		--mandir=/usr/share/man		\