#Maintainer: Dimitris Tzemos <djemos~at~slackel~dot~gr>

#Mandatory
pkgname=libupnp
pkgver=1.6.10
pkgrel=1dj
source=(http://downloads.sourceforge.net/pupnp/$pkgname-$pkgver.tar.bz2)
#Optional
docs=("readme" "changelog" "news" "todo")
url=http://upnp.sourceforge.net

slackdesc=\
(
 #|-----handy-ruler------------------------------------------------------|
  "Libupnp (Linux SDK for UPnP Devices)"
  "UPnP is an architecture  that enables  discovery, event notification"
  "and control of devices on a network, independent of operating system"
  "programming language, or physical network connection.  UPnP is based"
  "on common Internet standards and specifications such as TCP/IP, HTTP"
)

build() {
       cd $startdir/src/$pkgname-$pkgver || return 1
      ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \
      --disable-static \
      --mandir=/usr/man \
      --program-prefix= \
      --program-suffix= \
      --build=$arch-slackware-linux

        make -j $numjobs || return 1
        make install DESTDIR=$startdir/pkg || return 1
                         
}