wok-current view djmount/receipt @ rev 19187
Up slitaz-tools(995)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 04 17:18:48 2016 +0300 (2016-06-04) |
parents | 40901e291d86 |
children | 1762c0e02418 |
line source
1 # SliTaz package receipt.
3 PACKAGE="djmount"
4 VERSION="0.71"
5 CATEGORY="multimedia"
6 SHORT_DESC="Mount uPnP mediaservers content as a Linux filesystem."
7 MAINTAINER="slitaz@kacper.se"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://djmount.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="upnp"
14 DEPENDS="fuse readline"
15 BUILD_DEPENDS="fuse-dev readline-dev libupnp libupnp-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h
22 ./configure LDFLAGS="-lupnp" \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: &&
27 make -j1 && make -j1 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }