wok annotate djmount/receipt @ rev 19779

mate-panel, marco; update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 22 08:22:49 2017 +0100 (2017-02-22)
parents 40901e291d86
children 1762c0e02418
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"
paul@3855 6 SHORT_DESC="Mount uPnP mediaservers content as a Linux filesystem."
paul@3855 7 MAINTAINER="slitaz@kacper.se"
pascal@15155 8 LICENSE="GPL2"
paul@3855 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3855 10 WEB_SITE="http://djmount.sourceforge.net"
paul@3855 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@19008 12 TAGS="upnp"
paul@3855 13
pascal@15155 14 DEPENDS="fuse readline"
pascal@15155 15 BUILD_DEPENDS="fuse-dev readline-dev libupnp libupnp-dev"
pascal@15155 16
paul@3855 17 # Rules to configure and make the package.
paul@3855 18 compile_rules()
paul@3855 19 {
paul@3855 20 cd $src
pascal@9263 21 sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h
pascal@9286 22 ./configure LDFLAGS="-lupnp" \
paul@3855 23 --prefix=/usr \
paul@3855 24 --infodir=/usr/share/info \
paul@3855 25 --mandir=/usr/share/man \
pascal@15155 26 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: &&
gokhlayeh@8801 27 make -j1 && make -j1 install
paul@3855 28 }
paul@3855 29
paul@3855 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3855 31 genpkg_rules()
paul@3855 32 {
paul@3855 33 mkdir -p $fs/usr
pascal@15155 34 cp -a $install/usr/bin $fs/usr
paul@3855 35 }
paul@3855 36