wok view djmount/receipt @ rev 17017

fbvnc-auth: fix cross compilation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 13 14:10:10 2014 +0200 (2014-08-13)
parents 22a6fdbd9840
children dbf4eeed945f
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"
13 DEPENDS="fuse readline"
14 BUILD_DEPENDS="fuse-dev readline-dev libupnp libupnp-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h
21 ./configure LDFLAGS="-lupnp" \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: &&
26 make -j1 && make -j1 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }