wok view djmount/receipt @ rev 24765

afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 17:45:47 2022 +0000 (6 months ago)
parents 640a2eba2511
children
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="fuse2 readline"
16 BUILD_DEPENDS="automake bash fuse2-dev readline-dev" # libupnp libupnp-dev
17 # included in source archive
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/djmount/files/djmount/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/djmount/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' \
31 # djmount/upnp_util.h
33 # to satisfy #include <upnp/....h>
34 ln -s $src/libupnp/ixml/inc libupnp/ixml/upnp
35 ln -s $src/libupnp/upnp/inc libupnp/upnp/upnp
36 ln -s $src/libupnp/threadutil/inc libupnp/threadutil/upnp
38 ln -s $src/libupnp/ixml/inc/ixml.h libupnp/upnp/ixml.h
39 ln -s $src/libupnp/threadutil/inc/ithread.h djmount/ithread.h
41 export LIBUPNP_CFLAGS="-I$src/libupnp/threadutil \
42 -I$src/libupnp/upnp -I$src/libupnp/ixml"
44 ./configure \
45 CONFIG_SHELL=/bin/bash \
46 --prefix=/usr \
47 --infodir=/usr/share/info \
48 --mandir=/usr/share/man \
49 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: &&
50 make -j1 &&
51 make -j1 install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr
58 cp -a $install/usr/bin $fs/usr
59 }