wok annotate djmount/receipt @ rev 13215
broadcom-wl: update compile-rules for rescent kernels
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 10 17:00:01 2012 +0200 (2012-08-10) |
parents | 0d532585bb1c |
children | 40901e291d86 |
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" |
paul@3855 | 8 DEPENDS="fuse readline" |
pascal@9286 | 9 BUILD_DEPENDS="fuse-dev readline-dev libupnp libupnp-dev" |
paul@3855 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3855 | 11 WEB_SITE="http://djmount.sourceforge.net" |
paul@3855 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3855 | 13 |
paul@3855 | 14 # Rules to configure and make the package. |
paul@3855 | 15 compile_rules() |
paul@3855 | 16 { |
paul@3855 | 17 cd $src |
pascal@9263 | 18 sed -i 's|upnptools.h>|&\n#include <upnp/upnp.h>|' djmount/upnp_util.h |
pascal@9286 | 19 ./configure LDFLAGS="-lupnp" \ |
paul@3855 | 20 --prefix=/usr \ |
paul@3855 | 21 --infodir=/usr/share/info \ |
paul@3855 | 22 --mandir=/usr/share/man \ |
paul@3855 | 23 $CONFIGURE_ARGS && |
gokhlayeh@8801 | 24 make -j1 && make -j1 install |
paul@3855 | 25 } |
paul@3855 | 26 |
paul@3855 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 28 genpkg_rules() |
paul@3855 | 29 { |
paul@3855 | 30 mkdir -p $fs/usr |
paul@3855 | 31 cp -a $_pkg/usr/bin $fs/usr |
paul@3855 | 32 } |
paul@3855 | 33 |