# Description: Command-line client for libgphoto2
# URL:         http://www.gphoto.org
# Maintainer:  Juergen Daubert, jue at crux dot nu
# Depends on:  readline popt libgphoto2

name=gphoto2
version=2.5.23
release=1
source=(http://downloads.sourceforge.net/project/gphoto/gphoto/$version/$name-$version.tar.bz2)

build() {
    cd $name-$version

    ./configure --prefix=/usr --disable-nls

    make
    make DESTDIR=$PKG install

    rm -r $PKG/usr/share/doc
}