24 lines
716 B
Plaintext
24 lines
716 B
Plaintext
![]() |
# Description: A library designed to allow access to digital cameras to external programs
|
||
|
# URL: http://www.gphoto.org/proj/libgphoto2/
|
||
|
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
|
||
|
# Maintainer: Matt Housh, jaeger at crux dot nu
|
||
|
# Depends on: libusb, libexif
|
||
|
|
||
|
name=libgphoto2
|
||
|
version=2.4.0
|
||
|
release=1
|
||
|
source=(http://dl.sourceforge.net/sourceforge/gphoto/$name-$version.tar.gz)
|
||
|
|
||
|
build () {
|
||
|
cd $name-$version
|
||
|
./configure --prefix=/usr \
|
||
|
--disable-nls \
|
||
|
--disable-static \
|
||
|
--mandir=/usr/man
|
||
|
find . -name "Makefile" -exec \
|
||
|
sed -i -e 's|\(udevscriptdir = \)${libdir}/udev|\1/lib/udev|g' '{}' \;
|
||
|
make EXIF_CFLAGS="-DHAVE_EXIF_0_5_4"
|
||
|
make DESTDIR=$PKG install
|
||
|
rm -rf $PKG/usr/share/doc
|
||
|
}
|