opt/libgphoto2/Pkgfile

23 lines
650 B
Plaintext
Raw Normal View History

# 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 16:26:10 +01:00
# Depends on: libusb, libexif
name=libgphoto2
2007-07-30 19:48:07 +02:00
version=2.4.0
2007-06-26 15:54:03 +02:00
release=1
2006-02-23 16:26:10 +01:00
source=(http://dl.sourceforge.net/sourceforge/gphoto/$name-$version.tar.gz)
build () {
cd $name-$version
./configure --prefix=/usr \
--disable-nls \
2007-06-26 15:54:03 +02:00
--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
2006-02-23 16:26:10 +01:00
}