# Maintainer: Luis Henrique <lmello.009@gmail.com>

# Mandatory
pkgname=python-gpod
pkgver=0.8.0
pkgrel=1lm
source=("http://downloads.sourceforge.net/project/gtkpod/libgpod/libgpod-0.8/libgpod-0.8.0.tar.gz")
# Optional
url=http://gtkpod.org
 
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-gpod (gpod python module)"
"This package contains the python bindings for libgpod."
)

build() {
        cd $startdir/src/libgpod-$pkgver
        ./configure \
          --prefix=/usr \
          --libdir=/usr/lib${LIBDIRSUFFIX} \
          --enable-static=no \
          --enable-shared=yes \
          --build=$ARCH-slackware-linux

        make || return 1
        
        # Install python bindings
        cd bindings
        make install DESTDIR=$startdir/pkg || exit 1

}
