summaryrefslogtreecommitdiff
path: root/libgphoto2/Pkgfile
blob: 807bd18f8e7ace4aa50fdd8083508a4d661be791 (plain)
    1 # Description: A library designed to allow access to digital cameras to external programs
    2 # URL:         http://www.gphoto.org/proj/libgphoto2/
    3 # Maintainer:  Juergen Daubert, juergen dot daubert at t-online dot de
    4 # Packager:    Matt Housh, jaeger at crux dot nu
    5 # Depends on:  libtool libusb libjpeg libexif
    6 
    7 name=libgphoto2
    8 version=2.4.2
    9 release=1
   10 source=(http://dl.sourceforge.net/sourceforge/gphoto/$name-$version.tar.gz)
   11 
   12 build () {
   13     cd $name-$version
   14 
   15     sed -i 's/lt_dlcaller_register/lt_dlinit/g' configure libgphoto2_port/configure
   16 
   17     udevscriptdir=/lib/udev \
   18     ./configure --prefix=/usr \
   19                 --disable-nls \
   20                 --disable-static \
   21                 --mandir=/usr/man
   22 
   23     make
   24     make DESTDIR=$PKG install
   25     rm -rf $PKG/usr/share/doc
   26 }

Generated by cgit