milis/talimatname/genel/libgphoto2/talimat

21 lines
522 B
Plaintext
Raw Normal View History

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