### this file is sourced not run
PKGVER=0.71
PKGARCH=x86_64
PKGBUILD=1

# source: james
TARBALL=djmount-${PKGVER}.tar.gz
MD5SUM=c922753e706c194bf82a8b6ca77e6a9a
SRC_URL=http://downloads.sourceforge.net/djmount/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="djmount: djmount $PKGVER (UPNP filesystem)
djmount: 
djmount: djmount is a UPnP AV client. It mounts as a Linux filesystem the 
djmount: media content of compatible UPnP AV devices. Djmount discovers 
djmount: automatically all UPnP AV Media Servers on the network, and make the 
djmount: content available in a directory tree. All shared files (e.g. Audio 
djmount: or Video files) are directly visible and can be played using your 
djmount: favorite media player.
djmount: 
djmount: http://djmount.sourceforge.net/
djmount: 
"

### default pkg_download
### prepares
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/djmount* &&
	tar -xf ../pkg/djmount_0.71-7.debian.tar.xz &&
	for p in 004 003 000; do
		patch -Np1 -i debian/patches/${p}* || return 1
	done
}

### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	install -m644 djmount.1 /usr/share/man/man1
}


