wok view djmount/receipt @ rev 22171

pcmanfm-legacy, spacefm: link with libxcb-util
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 08 12:05:48 2019 +0100 (2019-11-08)
parents 1762c0e02418
children 640a2eba2511
line source
1 # SliTaz package receipt.
3 PACKAGE="djmount"
4 VERSION="0.71"
5 CATEGORY="multimedia"
6 TAGS="upnp"
7 SHORT_DESC="Mount uPnP mediaservers content as a Linux filesystem."
8 MAINTAINER="slitaz@kacper.se"
9 LICENSE="GPL2"
10 WEB_SITE="http://djmount.sourceforge.net"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="fuse readline"
16 BUILD_DEPENDS="automake bash fuse-dev readline-dev" # libupnp libupnp-dev
17 # included in source archive
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' \
23 # djmount/upnp_util.h
25 # to satisfy #include <upnp/....h>
26 ln -s $src/libupnp/ixml/inc libupnp/ixml/upnp
27 ln -s $src/libupnp/upnp/inc libupnp/upnp/upnp
28 ln -s $src/libupnp/threadutil/inc libupnp/threadutil/upnp
30 ln -s $src/libupnp/ixml/inc/ixml.h libupnp/upnp/ixml.h
31 ln -s $src/libupnp/threadutil/inc/ithread.h djmount/ithread.h
33 export LIBUPNP_CFLAGS="-I$src/libupnp/threadutil \
34 -I$src/libupnp/upnp -I$src/libupnp/ixml"
36 ./configure \
37 CONFIG_SHELL=/bin/bash \
38 --prefix=/usr \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: &&
42 make -j1 &&
43 make -j1 install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr
50 cp -a $install/usr/bin $fs/usr
51 }