27 lines
782 B
Plaintext
27 lines
782 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, juergen dot daubert at t-online dot de
|
||
|
# Packager: Matt Housh, jaeger at crux dot nu
|
||
|
# Depends on: libtool libusb libjpeg libexif
|
||
|
|
||
|
name=libgphoto2
|
||
|
version=2.4.2
|
||
|
release=1
|
||
|
source=(http://dl.sourceforge.net/sourceforge/gphoto/$name-$version.tar.gz)
|
||
|
|
||
|
build () {
|
||
|
cd $name-$version
|
||
|
|
||
|
sed -i 's/lt_dlcaller_register/lt_dlinit/g' configure libgphoto2_port/configure
|
||
|
|
||
|
udevscriptdir=/lib/udev \
|
||
|
./configure --prefix=/usr \
|
||
|
--disable-nls \
|
||
|
--disable-static \
|
||
|
--mandir=/usr/man
|
||
|
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
rm -rf $PKG/usr/share/doc
|
||
|
}
|