wok annotate djmount/receipt @ rev 21708
djmount: added automake to BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 07 16:30:45 2019 +0100 (2019-06-07) |
parents | dbf4eeed945f |
children | 59c5f6ec84ca |
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" |
Hans-G?nter@21708 | 15 BUILD_DEPENDS="automake fuse-dev libupnp libupnp-dev readline-dev" |
pascal@15155 | 16 |
paul@3855 | 17 # Rules to configure and make the package. |
paul@3855 | 18 compile_rules() |
paul@3855 | 19 { |
pascal@9263 | 20 sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h |
Hans-G?nter@21708 | 21 |
Hans-G?nter@21708 | 22 ./configure \ |
Hans-G?nter@21708 | 23 LDFLAGS="-lupnp" \ |
Hans-G?nter@21708 | 24 --prefix=/usr \ |
Hans-G?nter@21708 | 25 --infodir=/usr/share/info \ |
Hans-G?nter@21708 | 26 --mandir=/usr/share/man \ |
pascal@15155 | 27 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath: && |
Hans-G?nter@21708 | 28 make -j1 && |
Hans-G?nter@21708 | 29 make -j1 install |
paul@3855 | 30 } |
paul@3855 | 31 |
paul@3855 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 33 genpkg_rules() |
paul@3855 | 34 { |
paul@3855 | 35 mkdir -p $fs/usr |
pascal@15155 | 36 cp -a $install/usr/bin $fs/usr |
paul@3855 | 37 } |