26 lines
611 B
Plaintext
26 lines
611 B
Plaintext
# Description: A library designed to allow access to digital cameras to external programs
|
|
# URL: http://www.gphoto.org/proj/libgphoto2/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: curl libtool libusb libxml2
|
|
|
|
name=libgphoto2
|
|
version=2.5.31
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/gphoto/libgphoto/$version/$name-$version.tar.bz2)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
udevscriptdir=/lib/udev \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--with-doc-dir=/usr/share/doc
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
rm $PKG/usr/lib/libgphoto2*/*/*.la
|
|
}
|