wok-current annotate djmount/receipt @ rev 25308
updated sipsak (0.9.7 -> 0.9.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:59:52 2022 +0100 (2022-07-20) |
parents | 640a2eba2511 |
children | b0069c845544 |
rev | line source |
---|---|
paul@3855 | 1 # SliTaz package receipt. |
paul@3855 | 2 |
paul@3855 | 3 PACKAGE="djmount" |
paul@3855 | 4 VERSION="0.71" |
paul@3855 | 5 CATEGORY="multimedia" |
Hans-G?nter@21711 | 6 TAGS="upnp" |
paul@3855 | 7 SHORT_DESC="Mount uPnP mediaservers content as a Linux filesystem." |
paul@3855 | 8 MAINTAINER="slitaz@kacper.se" |
pascal@15155 | 9 LICENSE="GPL2" |
Hans-G?nter@21711 | 10 WEB_SITE="http://djmount.sourceforge.net" |
Hans-G?nter@21711 | 11 |
paul@3855 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3855 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3855 | 14 |
pascal@24765 | 15 DEPENDS="fuse2 readline" |
pascal@24765 | 16 BUILD_DEPENDS="automake bash fuse2-dev readline-dev" # libupnp libupnp-dev |
Hans-G?nter@21711 | 17 # included in source archive |
pascal@15155 | 18 |
pascal@24385 | 19 # What is the latest version available today? |
pascal@24385 | 20 current_version() |
pascal@24385 | 21 { |
pascal@24385 | 22 wget -O - https://sourceforge.net/projects/djmount/files/djmount/ 2>/dev/null | \ |
pascal@24385 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 24 sed '/scope="row/!d;s|.*/djmount/||;s|/.*||;q' |
pascal@24385 | 25 } |
pascal@24385 | 26 |
paul@3855 | 27 # Rules to configure and make the package. |
paul@3855 | 28 compile_rules() |
paul@3855 | 29 { |
Hans-G?nter@21711 | 30 # sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' \ |
Hans-G?nter@21711 | 31 # djmount/upnp_util.h |
Hans-G?nter@21708 | 32 |
Hans-G?nter@21711 | 33 # to satisfy #include <upnp/....h> |
Hans-G?nter@21711 | 34 ln -s $src/libupnp/ixml/inc libupnp/ixml/upnp |
Hans-G?nter@21711 | 35 ln -s $src/libupnp/upnp/inc libupnp/upnp/upnp |
Hans-G?nter@21711 | 36 ln -s $src/libupnp/threadutil/inc libupnp/threadutil/upnp |
Hans-G?nter@21711 | 37 |
Hans-G?nter@21711 | 38 ln -s $src/libupnp/ixml/inc/ixml.h libupnp/upnp/ixml.h |
Hans-G?nter@21711 | 39 ln -s $src/libupnp/threadutil/inc/ithread.h djmount/ithread.h |
Hans-G?nter@21711 | 40 |
Hans-G?nter@21711 | 41 export LIBUPNP_CFLAGS="-I$src/libupnp/threadutil \ |
Hans-G?nter@21711 | 42 -I$src/libupnp/upnp -I$src/libupnp/ixml" |
Hans-G?nter@21711 | 43 |
Hans-G?nter@21711 | 44 ./configure \ |
Hans-G?nter@21711 | 45 CONFIG_SHELL=/bin/bash \ |
Hans-G?nter@21708 | 46 --prefix=/usr \ |
Hans-G?nter@21708 | 47 --infodir=/usr/share/info \ |
Hans-G?nter@21708 | 48 --mandir=/usr/share/man \ |
pascal@15155 | 49 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: && |
Hans-G?nter@21708 | 50 make -j1 && |
Hans-G?nter@21708 | 51 make -j1 install |
paul@3855 | 52 } |
paul@3855 | 53 |
paul@3855 | 54 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 55 genpkg_rules() |
paul@3855 | 56 { |
paul@3855 | 57 mkdir -p $fs/usr |
pascal@15155 | 58 cp -a $install/usr/bin $fs/usr |
paul@3855 | 59 } |