2006-10-10 03:29:17 +00:00
|
|
|
# Description: A library designed to allow access to digital cameras to external programs
|
|
|
|
# URL: http://www.gphoto.org/proj/libgphoto2/
|
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: libusb, libexif
|
|
|
|
|
|
|
|
name=libgphoto2
|
2007-07-30 12:48:07 -05:00
|
|
|
version=2.4.0
|
2007-06-26 08:54:03 -05:00
|
|
|
release=1
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(http://dl.sourceforge.net/sourceforge/gphoto/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build () {
|
2006-10-10 03:29:17 +00:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-nls \
|
2007-06-26 08:54:03 -05:00
|
|
|
--disable-static \
|
|
|
|
--mandir=/usr/man
|
|
|
|
find . -name "Makefile" -exec \
|
|
|
|
sed -i -e 's|\(udevscriptdir = \)${libdir}/udev|\1/lib/udev|g' '{}' \;
|
2006-10-10 03:29:17 +00:00
|
|
|
make EXIF_CFLAGS="-DHAVE_EXIF_0_5_4"
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|