21 lines
522 B
Plaintext
21 lines
522 B
Plaintext
# Description: Core library of gphoto2, designed to allow access to digital camera by external programs.
|
|
# URL: http://www.gphoto.org/proj/libgphoto2/
|
|
# Packager: milisarge
|
|
# Depends on: libjpeg-turbo libexif libusb-compat
|
|
|
|
name=libgphoto2
|
|
version=2.5.10
|
|
release=1
|
|
|
|
source=(https://distfiles.macports.org/libgphoto2/libgphoto2-2.5.10.tar.bz2
|
|
jpeg.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -Np1 -i ../jpeg.patch
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/share/doc
|
|
}
|