summaryrefslogtreecommitdiff
path: root/user/libgphoto2
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-01 20:44:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-01 20:44:18 +0000
commita278c3e05013fa3366554af5dee719a0ba90d798 (patch)
tree3e8b407a54ea97bc7fe4a5a2757dde27a6320e37 /user/libgphoto2
parent4c66fd861e536f7b7e2e68a78b748cfeb62026c4 (diff)
downloadpackages-a278c3e05013fa3366554af5dee719a0ba90d798.tar.gz
packages-a278c3e05013fa3366554af5dee719a0ba90d798.tar.bz2
packages-a278c3e05013fa3366554af5dee719a0ba90d798.tar.xz
packages-a278c3e05013fa3366554af5dee719a0ba90d798.zip
user/*: Modernise / fix syntax / deps
Diffstat (limited to 'user/libgphoto2')
-rw-r--r--user/libgphoto2/APKBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/user/libgphoto2/APKBUILD b/user/libgphoto2/APKBUILD
index c1250aabb..aee8693b1 100644
--- a/user/libgphoto2/APKBUILD
+++ b/user/libgphoto2/APKBUILD
@@ -10,13 +10,11 @@ license="LGPL-2.1+"
depends=""
depends_dev="libexif-dev libusb-dev"
makedepends="$depends_dev libjpeg-turbo-dev libtool"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
install="$pkgname.pre-install $pkgname.pre-upgrade"
-replaces="libgphoto2-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/gphoto/libgphoto2-$pkgver.tar.bz2"
build() {
- cd "$builddir"
udevscriptdir=/lib/udev ./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,12 +26,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/libgphoto2/*/*.a \
"$pkgdir"/usr/lib/*.a