wok view djmount/receipt @ rev 16561

Up: slitaz-configs (automount fix) and add util-linux-eject to polkit deps
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 10:33:40 2014 +0200 (2014-05-01)
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 }