wok-4.x view djmount/receipt @ rev 12375
Fix missing build-depends nux-module-headers
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Jan 24 10:27:57 2013 +0100 (2013-01-24) |
parents | 0d532585bb1c |
children |
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 DEPENDS="fuse readline"
9 BUILD_DEPENDS="fuse-dev readline-dev libupnp libupnp-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://djmount.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h
19 ./configure LDFLAGS="-lupnp" \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make -j1 && make -j1 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }