blob: ff21c29b176d380b7bdf1ba76363b723ca4d0acc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gphoto2
pkgver=2.5.23
pkgrel=0
pkgdesc="Commandline utilities for accessing cameras"
url="http://www.gphoto.org/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="libgphoto2-dev popt-dev gettext-dev libjpeg-turbo-dev libtool"
subpackages="$pkgname-lang $pkgname-doc"
source="https://sourceforge.net/projects/gphoto/files/gphoto/$pkgver/gphoto2-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b5cea3008b5b9de93444fa25b11eab13155d479896920275caada123e0578ed3f84f9b15fe82406c332e64955ba075b642341d88e20a2ee78b42991890bca86b gphoto2-2.5.23.tar.bz2"
|