wok-current annotate djmount/receipt @ rev 17968

Up slitaz-tools-boxes (939)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 17 10:45:28 2015 +0200 (2015-04-17)
parents 22a6fdbd9840
children dbf4eeed945f
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"
paul@3855 12
pascal@15155 13 DEPENDS="fuse readline"
pascal@15155 14 BUILD_DEPENDS="fuse-dev readline-dev libupnp libupnp-dev"
pascal@15155 15
paul@3855 16 # Rules to configure and make the package.
paul@3855 17 compile_rules()
paul@3855 18 {
paul@3855 19 cd $src
pascal@9263 20 sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h
pascal@9286 21 ./configure LDFLAGS="-lupnp" \
paul@3855 22 --prefix=/usr \
paul@3855 23 --infodir=/usr/share/info \
paul@3855 24 --mandir=/usr/share/man \
pascal@15155 25 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: &&
gokhlayeh@8801 26 make -j1 && make -j1 install
paul@3855 27 }
paul@3855 28
paul@3855 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3855 30 genpkg_rules()
paul@3855 31 {
paul@3855 32 mkdir -p $fs/usr
pascal@15155 33 cp -a $install/usr/bin $fs/usr
paul@3855 34 }
paul@3855 35