wok-6.x annotate djmount/receipt @ rev 22708
updated eudev and eudev-dev (1.9 -> 3.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 21 17:49:56 2020 +0100 (2020-01-21) |
parents | 1762c0e02418 |
children | 640a2eba2511 |
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@15155 | 15 DEPENDS="fuse readline" |
Hans-G?nter@21711 | 16 BUILD_DEPENDS="automake bash fuse-dev readline-dev" # libupnp libupnp-dev |
Hans-G?nter@21711 | 17 # included in source archive |
pascal@15155 | 18 |
paul@3855 | 19 # Rules to configure and make the package. |
paul@3855 | 20 compile_rules() |
paul@3855 | 21 { |
Hans-G?nter@21711 | 22 # sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' \ |
Hans-G?nter@21711 | 23 # djmount/upnp_util.h |
Hans-G?nter@21708 | 24 |
Hans-G?nter@21711 | 25 # to satisfy #include <upnp/....h> |
Hans-G?nter@21711 | 26 ln -s $src/libupnp/ixml/inc libupnp/ixml/upnp |
Hans-G?nter@21711 | 27 ln -s $src/libupnp/upnp/inc libupnp/upnp/upnp |
Hans-G?nter@21711 | 28 ln -s $src/libupnp/threadutil/inc libupnp/threadutil/upnp |
Hans-G?nter@21711 | 29 |
Hans-G?nter@21711 | 30 ln -s $src/libupnp/ixml/inc/ixml.h libupnp/upnp/ixml.h |
Hans-G?nter@21711 | 31 ln -s $src/libupnp/threadutil/inc/ithread.h djmount/ithread.h |
Hans-G?nter@21711 | 32 |
Hans-G?nter@21711 | 33 export LIBUPNP_CFLAGS="-I$src/libupnp/threadutil \ |
Hans-G?nter@21711 | 34 -I$src/libupnp/upnp -I$src/libupnp/ixml" |
Hans-G?nter@21711 | 35 |
Hans-G?nter@21711 | 36 ./configure \ |
Hans-G?nter@21711 | 37 CONFIG_SHELL=/bin/bash \ |
Hans-G?nter@21708 | 38 --prefix=/usr \ |
Hans-G?nter@21708 | 39 --infodir=/usr/share/info \ |
Hans-G?nter@21708 | 40 --mandir=/usr/share/man \ |
pascal@15155 | 41 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: && |
Hans-G?nter@21708 | 42 make -j1 && |
Hans-G?nter@21708 | 43 make -j1 install |
paul@3855 | 44 } |
paul@3855 | 45 |
paul@3855 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 47 genpkg_rules() |
paul@3855 | 48 { |
paul@3855 | 49 mkdir -p $fs/usr |
pascal@15155 | 50 cp -a $install/usr/bin $fs/usr |
paul@3855 | 51 } |